summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate-builds.yml10
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