Compare commits

...

3 Commits

Author SHA1 Message Date
David Chavez
050788ba41
Merge c3668d02d4 into 4abd0fe720 2024-06-22 22:11:40 +08:00
David Chavez
c3668d02d4
Merge branch 'dev' into chore/ci-windows-test 2024-06-16 21:56:55 +02:00
dcvz
22520873c5 Attempt what VS does now 2024-06-08 23:49:44 +02:00

View File

@ -246,9 +246,11 @@ jobs:
# remove LLVM from PATH so it doesn't overshadow the one provided by VS # remove LLVM from PATH so it doesn't overshadow the one provided by VS
$env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' }) -join ';' $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' }) -join ';'
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build -DCMAKE_CXX_FLAGS="-Xclang -fexceptions -Xclang -fcxx-exceptions" cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j $cpuCores cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j $cpuCores
env: env:
CXXFLAGS: --target=amd64-pc-windows-msvc -fdiagnostics-absolute-paths
CFLAGS: --target=amd64-pc-windows-msvc -fdiagnostics-absolute-paths
SDL2_VERSION: ${{ inputs.SDL2_VERSION }} SDL2_VERSION: ${{ inputs.SDL2_VERSION }}
- name: Prepare Archive - name: Prepare Archive
run: | run: |