Skip to content

Commit d17d615

Browse files
ahoaraumr-c
authored andcommitted
ci: add cmake packaging ci
1 parent c2b0e2b commit d17d615

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CMake
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'ci/**'
7+
- '!ci/gha**'
8+
- 'dependabot/**'
9+
pull_request:
10+
branches:
11+
- 'master'
12+
13+
concurrency:
14+
group: cmake-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
test-install:
19+
name: CMake - ${{ matrix.os }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm]
25+
26+
steps:
27+
- uses: actions/checkout@v6
28+
29+
- uses: ilammy/msvc-dev-cmd@v1
30+
31+
- name: Configure SIMDe
32+
run: cmake -G Ninja -S . -B build
33+
34+
- name: Build SIMDe
35+
run: cmake --build build
36+
37+
- name: Test SIMDe Package
38+
run: ctest --test-dir build --output-on-failure --verbose
39+

0 commit comments

Comments
 (0)