Properly archive build

This commit is contained in:
dcvz 2024-05-17 19:43:59 +02:00
parent 14032ad6d2
commit 3cc80e47c4

View file

@ -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