-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (34 loc) · 946 Bytes
/
c.yml
File metadata and controls
39 lines (34 loc) · 946 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
name: Simple Test
on:
push:
branches: [main, master]
pull_request:
jobs:
make-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y clang gcc make python3
- name: make test
run: make test
- name: Supplemental tests
run: |
make fetch-supplemental-data
make supplemental_tests
- name: make example
run: make example
- name: Check dirty single-header
run: git diff --exit-code ffc.h
cmake-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y clang gcc make python3 cmake
- name: cmake configure
run: cmake -B build
- name: cmake build
run: cmake --build build -j 2
- name: cmake test
run: ctest --test-dir build -j 2