Skip to content

Commit

Permalink
fix windows build issues on Github Actions CI
Browse files Browse the repository at this point in the history
Signed-off-by: Anjan Roy <[email protected]>
  • Loading branch information
itzmeanjan committed Dec 22, 2023
1 parent d043461 commit dcef909
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
branches: [ "master" ]

jobs:
build:
build-on-nix:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -40,3 +40,21 @@ jobs:
run: make asan_test -j
- name: Execute Tests with UndefinedBehaviourSanitizer on ${{matrix.os}}
run: make ubsan_test -j
build-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
# From https://github.com/marketplace/actions/actions-setup-cmake
- name: Setup CMake
uses: jwlawson/[email protected]
with:
cmake-version: 'latest'
# From https://github.com/marketplace/actions/setup-googletest
- uses: ilammy/msvc-dev-cmd@v1
- uses: Bacondish2023/setup-googletest@v1
- name: Execute Tests
run: make -j
- name: Execute Tests with AddressSanitizer
run: make asan_test -j
- name: Execute Tests with UndefinedBehaviourSanitizer
run: make ubsan_test -j

0 comments on commit dcef909

Please sign in to comment.