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 6103fe2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,29 @@ 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') }}
- name: Install dependencies
run: yarn install
- uses: msys2/setup-msys2@v2
if: runner.os == 'Windows'
- name: Prepare & build (Windows)
shell: pwsh
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
./scripts/prepare-windows.ps1
./scripts/build-windows.ps1
- name: Prepare & build (Linux x86_64)
if: runner.os == 'Linux'
env:
Expand Down

0 comments on commit 6103fe2

Please sign in to comment.