diff options
| author | aMannus <mannusmenting@gmail.com> | 2022-12-19 13:58:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-19 13:58:22 +0100 |
| commit | 17b1a8e7fd5517f9232e531da0fed6ef80a87f04 (patch) | |
| tree | f29520788c96e35f5ed93dbd84a3bc29a23c2679 /.github | |
| parent | a95b1067b42ad0ee0b1873b90ed2e24cf78d4836 (diff) | |
[CI] Support for Windows runners + update docs (#2192)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/generate-builds.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml index 5e23a550f..4bf90148f 100644 --- a/.github/workflows/generate-builds.yml +++ b/.github/workflows/generate-builds.yml @@ -12,7 +12,15 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - - name: Extract assets + - name: Extract assets (Windows) + if: runner.os == 'Windows' + run: | + cp ../../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64 + cmake --no-warn-unused-cli -S . -B build-cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE:STRING=Release + cmake --build build-cmake --target ExtractAssets --config Release + 7z a assets.zip soh/assets + - name: Extract assets (Unix) + if: runner.os != 'Windows' run: | cp ../../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64 cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release |
