mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 13:11:58 +00:00
Properly archive build
This commit is contained in:
parent
14032ad6d2
commit
3cc80e47c4
1 changed files with 4 additions and 5 deletions
9
.github/workflows/validate.yml
vendored
9
.github/workflows/validate.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-z64re-ccache
|
key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }}
|
||||||
- name: Install Linux Dependencies
|
- name: Install Linux Dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -78,10 +78,9 @@ jobs:
|
||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_COMPILER=clang-15 -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang++-15 -DCMAKE_C_COMPILER=clang-15 -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
||||||
cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8
|
cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8
|
||||||
|
- name: Prepare Archive
|
||||||
cp cmake-build/Zelda64Recompiled ..
|
|
||||||
- name: Prepare Assets Folder
|
|
||||||
run: |
|
run: |
|
||||||
|
mv cmake-build/Zelda64Recompiled Zelda64Recompiled
|
||||||
rm -rf assets/scss
|
rm -rf assets/scss
|
||||||
- name: Archive Zelda64Recomp
|
- name: Archive Zelda64Recomp
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
@ -103,7 +102,7 @@ jobs:
|
||||||
# - name: ccache
|
# - name: ccache
|
||||||
# uses: hendrikmuhs/ccache-action@v1.2
|
# uses: hendrikmuhs/ccache-action@v1.2
|
||||||
# with:
|
# with:
|
||||||
# key: ${{ runner.os }}-z64re-ccache
|
# key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }}
|
||||||
# - name: Install Windows Dependencies
|
# - name: Install Windows Dependencies
|
||||||
# run: |
|
# run: |
|
||||||
# choco install ninja gnupg
|
# choco install ninja gnupg
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue