-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (35 loc) · 942 Bytes
/
main.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
---
# configuration for GitHub Actions
name: gr1c tests
on:
push:
pull_request:
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install APT packages
run: |
sudo apt update
sudo apt install \
build-essential \
graphviz \
gcc
- name: Display versions of GCC, bison, flex
run: |
gcc --version
bison --version
flex --version
- name: Build dependencies
run: |
./get-deps.sh
./get-extra-deps.sh
./build-deps.sh
- name: Build gr1c
run: |
make -e all
- name: Run tests
run: |
VERBOSE=1 make -e check