forked from leanprover/LNSym
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (28 loc) · 938 Bytes
/
makefile.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
name: Makefile CI
on:
# Run using manual triggers from GitHub UI:
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch: {}
# Run on every push:
push: {}
# Run on pull request activity:
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain none
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Setup CaDiCaL
run: |
set -o pipefail
git clone https://github.com/arminbiere/cadical.git $HOME/cadical
cd $HOME/cadical; ./configure && make
echo "$HOME/cadical/build" >> $GITHUB_PATH
- uses: actions/checkout@v3
- name: Build LNSym
run: make all