Skip to content

Commit 919d09b

Browse files
committed
Add Windows CI workflow and rename Linux
1 parent 0451e4c commit 919d09b

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: CI-Linux
22

33
on:
44
push:
@@ -13,7 +13,7 @@ on:
1313
- codex/**
1414

1515
jobs:
16-
build:
16+
Tests-Linux:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:

.github/workflows/CI-Win.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI-Win
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release/**
8+
- stable
9+
pull_request:
10+
branches:
11+
- main
12+
- release/**
13+
- codex/**
14+
15+
jobs:
16+
Tests-Win:
17+
runs-on: windows-latest
18+
strategy:
19+
matrix:
20+
std: [11, 17]
21+
steps:
22+
- uses: actions/checkout@v3
23+
- uses: msys2/setup-msys2@v2
24+
with:
25+
update: true
26+
msystem: MINGW64
27+
install: >-
28+
mingw-w64-x86_64-toolchain
29+
mingw-w64-x86_64-cmake
30+
mingw-w64-x86_64-make
31+
- name: Build and Run Tests
32+
shell: msys2 {0}
33+
run: |
34+
export CXX_STANDARD=${{ matrix.std }}
35+
./scripts/run_tests.sh

0 commit comments

Comments
 (0)