-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (45 loc) · 1.16 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: windows
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
generator:
- Visual Studio 16 2019
cmake:
- 3.21.x
- 3.22.x
- 3.23.x
- 3.27.x
- 3.28.x
- 3.29.x
runs-on: windows-2019
env:
GENERATOR: ${{ matrix.generator }}
SHARED: 'OFF,ON'
FLAVOR: 'release,debug'
install_dir: C:\\
steps:
- name: install CMake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ matrix.cmake }}
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: install environment
uses: ./.github/actions/install-windows
with:
cache-key-scoop: ${{ secrets.CACHE_SCOOP }}
cache-key-python: ${{ secrets.CACHE_PYTHON }}
- name: install pytest
run: poetry install
- name: export cupcake
uses: ./.github/actions/export-cupcake
- name: test
run: poetry run pytest tests/ --builder make