-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 1 KB
/
ci.yml
File metadata and controls
41 lines (33 loc) · 1 KB
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
name: ci
on:
pull_request:
push:
branches:
- main
jobs:
test-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Build DACE
shell: pwsh
run: |
git clone https://github.com/dacelib/dace.git dace
cmake -S dace -B dace-build -G "Visual Studio 17 2022" -A x64 -T host=x64
cmake --build dace-build --config Release -j
cmake --install dace-build --prefix "${{ github.workspace }}/dace-install"
- name: Configure DACEx
shell: pwsh
run: |
cmake -S . -B _build -G "Visual Studio 17 2022" -A x64 -T host=x64 -DDACEX_DACE_ROOT="${{ github.workspace }}/dace-install"
- name: Build DACEx
shell: pwsh
run: |
cmake --build _build --config Debug -j
- name: Run CTest
shell: pwsh
run: |
ctest --test-dir _build -C Debug --output-on-failure