Skip to content

Commit

Permalink
add Windows to CI
Browse files Browse the repository at this point in the history
See #171

(cherry picked from commit 07dfe64)
  • Loading branch information
pmed committed Sep 26, 2021
1 parent 049615f commit bc53fb6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
build_type: [ Release, Debug ]
shared_lib: [ false, true ]
header_only: [ false, true ]
v8_compress_pointers: [ false, true ]
exclude:
- os: ubuntu-latest
v8_compress_pointers: true
- os: macOS-latest
- os: macos-latest
v8_compress_pointers: false
- os: windows-latest
v8_compress_pointers: false

runs-on: ${{matrix.os}}
Expand All @@ -33,9 +35,17 @@ jobs:
run: sudo apt install libv8-dev -y

- name: Install V8 brew
if: startsWith(matrix.os, 'macOS')
if: startsWith(matrix.os, 'macos')
run: brew install v8

- name: Install V8 nuget
if: startsWith(matrix.os, 'windows')
run: nuget install v8-v142-x64 -OutputDirectory ${{github.workspace}}/build

- name: Install Visual C++
if: startsWith(matrix.os, 'windows')
uses: ilammy/msvc-dev-cmd@v1

- name: Install ninja-build tool
uses: seanmiddleditch/gha-setup-ninja@v3

Expand Down

0 comments on commit bc53fb6

Please sign in to comment.