-
Notifications
You must be signed in to change notification settings - Fork 2
53 lines (41 loc) · 1.17 KB
/
build-and-test.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build and Test Functors
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/nevillegrech/gigahorse-toolchain-deps-souffle24:latest
steps:
- uses: actions/checkout@v4
- name: Build
run: make libsoufflenum.so
- name: Test
run: make
- name: Run lists_test.dl
run: souffle lists_test.dl
- name: Run smt-testing.dl
run: souffle smt-testing.dl
build-and-test-with-package:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Download souffle
run: wget -O souffle.deb https://github.com/souffle-lang/souffle/releases/download/2.4.1/x86_64-ubuntu-2004-souffle-2.4.1-Linux.deb
- name: Install souffle
run: sudo apt-get install ./souffle.deb -y
- name: Test Souffle
run: souffle --version
- name: Install Boost
run: sudo apt install libboost-all-dev
- name: Build
run: make libsoufflenum.so
- name: Test
run: make
- name: Run lists_test.dl
run: souffle lists_test.dl
- name: Run smt-testing.dl
run: souffle smt-testing.dl