-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (44 loc) · 1.2 KB
/
MSVC.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
48
49
50
51
52
53
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright © 2022–2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
# Matthias Kretz <[email protected]>
name: MSVC CI
on:
push:
branches: [ master, main ]
paths:
- '**.h'
- '**.cpp'
- '**.cc'
- '**.sh'
- '**Makefile'
- '**CMakeLists.txt'
- '.github/workflows/MSVC.yml'
pull_request:
jobs:
msvc:
strategy:
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
path: vir-simd
- name: Cache test data
id: cache-testdata
uses: actions/cache@v4
with:
path: vc-testdata
key: testdata-1
enableCrossOsArchive: true
- name: Download test data
if: steps.cache-testdata.outputs.cache-hit != 'true'
uses: actions/checkout@v4
with:
repository: VcDevel/vc-testdata
path: vc-testdata
- name: Configure test
run: cmake -S vir-simd -B build -DCMAKE_BUILD_TYPE:STRING=Release
- name: Compile test
run: cmake --build build --config Release --target check