-
Notifications
You must be signed in to change notification settings - Fork 428
42 lines (38 loc) · 990 Bytes
/
Copy pathcpp.yml
File metadata and controls
42 lines (38 loc) · 990 Bytes
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
name: Unit Tests
on:
pull_request:
paths:
- cactus-kernels/**
- cactus-graph/**
- .github/workflows/cpp.yml
push:
branches: [main]
paths:
- cactus-kernels/**
- cactus-graph/**
- .github/workflows/cpp.yml
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
deps: brew install ccache ninja
- os: ubuntu-24.04-arm
deps: sudo apt-get update && sudo apt-get install -y cmake build-essential libcurl4-openssl-dev ccache ninja-build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: ${{ matrix.deps }}
- name: Run kernel tests
run: bash cactus-kernels/test.sh
- name: Run graph tests
run: bash cactus-graph/test.sh