-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix windows build issues on Github Actions CI
Signed-off-by: Anjan Roy <[email protected]>
- Loading branch information
1 parent
d043461
commit dcef909
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |