Skip to content

Commit

Permalink
ci: Run Windows build on powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Mar 24, 2023
1 parent 0712a5d commit 6a79992
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
max-size: ${{ matrix.arch == 'arm64' && '3G' || '2G' }}
key: ccache-${{ matrix.os }}-${{ matrix.arch }}

- name: Build
- name: Build Posix
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
env:
CCACHE_SLOPPINESS: time_macros
shell: bash
Expand All @@ -62,13 +63,14 @@ jobs:
WRAPPER=/usr/local/bin/ccache
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
WRAPPER=/usr/bin/ccache
elif [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
WRAPPER=
# TODO ccache has bug building V8, retry after upgrades.
# WRAPPER=C:\\Users\\runneradmin\\.cargo\\bin\\ccache.exe
fi
node build.js --cc-wrapper=$WRAPPER ${{ matrix.arch }}
- name: Build Windows
if: join(matrix.os, '-') == 'self-hosted-Windows'
run: |
node build.js ${{ matrix.arch }}
- name: Test
if: matrix.arch == 'x64' || matrix.arch == 'ia32'
env:
Expand Down

0 comments on commit 6a79992

Please sign in to comment.