Skip to content

Commit

Permalink
fix: try to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Dec 21, 2024
1 parent 23ef2bf commit 0727802
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@ jobs:
- name: externals cache
uses: actions/[email protected]
if: runner.os != 'Windows'
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
with:
path: externals
key: ${{ runner.os }}-externals-${{ hashFiles('scripts/prepare-*.sh') }}
- name: externals cache (Windows)
uses: actions/[email protected]
if: runner.os == 'Windows'
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
with:
path: externals
key: ${{ runner.os }}-externals-${{ hashFiles('scripts/prepare-*.ps1') }}
Expand All @@ -53,6 +49,8 @@ jobs:
if: runner.os == 'Windows'
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
CMAKE_C_COMPILER: clang
CMAKE_CXX_COMPILER: clang++
run: |
powershell ./scripts/prepare-windows.ps1
powershell ./scripts/build-windows.ps1
Expand Down

0 comments on commit 0727802

Please sign in to comment.