forked from spike-imperial/FastLAS
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 839 Bytes
/
cmake.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
name: CMake
on:
push:
branches: [ "master" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install PyClingo
run: pip3 install clingo
- name: Install Boost
run: sudo apt-get install -y libboost-program-options-dev
- name: Install Clingo
working-directory: FastLAS2/testing/clingo
run: sudo apt-get install -y gringo
- name: Configure CMake
working-directory: FastLAS2/implementation
run: cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} CMakeLists.txt
- name: Build
working-directory: FastLAS2/implementation
run: make -j
- name: Test
working-directory: FastLAS2/testing
run: ./test_all.rb