-
-
Notifications
You must be signed in to change notification settings - Fork 233
29 lines (26 loc) · 615 Bytes
/
ci.yml
File metadata and controls
29 lines (26 loc) · 615 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
name: CI
run-name: continuous integration
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
strategy:
matrix:
#os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest]
os: [ubuntu-latest]
#cc: [gcc, clang]
cc: [gcc]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: sudo apt update && sudo apt install -y valgrind bison
- run: make -C src
env:
CC: ${{ matrix.cc }}
- run: cd ./tests && ./run_all_tests.sh
shell: bash
env:
CC: ${{ matrix.cc }}