-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (26 loc) · 869 Bytes
/
build.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
name: Build Isabelle/Set
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Cache Isabelle dependencies
uses: actions/cache@v3
with:
path: |
~/.isabelle
~/Isabelle
~/AFP/thys
key: v3-Isabelle-${{ hashFiles('ISABELLE_VERSION') }}-${{ hashFiles('AFP_VERSION') }}-${{ hashFiles('.github/workflows/prepare_isabelle.sh') }}
restore-keys: v3-Isabelle-
- name: Prepare Isabelle
run: $GITHUB_WORKSPACE/.github/workflows/prepare_isabelle.sh
shell: bash
- name: Build base image
run: ~/Isabelle/bin/isabelle build -vbRD .
- name: Build theories
run: ~/Isabelle/bin/isabelle build -vD .