[CI] Support for Windows runners + update docs (#2192)
This commit is contained in:
10
.github/workflows/generate-builds.yml
vendored
10
.github/workflows/generate-builds.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user