Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CI for GitHub #1

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Viper Roots CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'

- name: Download and install Isabelle
run: |
wget --quiet https://isabelle.in.tum.de/website-Isabelle2024/dist/Isabelle2024_linux.tar.gz -O isabelle.tar.gz
mkdir -p isabelle
tar -xzf isabelle.tar.gz -C isabelle --strip-components=1
rm isabelle.tar.gz
isabelle/bin/isabelle version
echo isabelle/bin >> $GITHUB_PATH

- name: Setup Isabelle sessions
run: |
isabelle components -u foundational_boogie/BoogieLang
isabelle components -u vipersemcommon
isabelle components -u viper-total-heaps
isabelle components -u vipersemabstract
isabelle components -u viper-abstract-refines-total
isabelle components -u simple-frontend

- name: Check whether Isabelle theories go through successfully
# viper-total-heaps/paper-results has viper-total-heaps as a parent session
run: |
isabelle build -j4 -D viper-total-heaps/paper-results
isabelle build -j4 -D vipersemabstract
isabelle build -j4 -D viper-abstract-refines-total
isabelle build -j4 -D simple-frontend
isabelle build -j4 -D main-results
26 changes: 0 additions & 26 deletions .gitlab-ci.yml

This file was deleted.

Loading