Skip to content

Commit

Permalink
Automatically build smt2 files
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Dec 25, 2024
1 parent 91ca67c commit e2b5030
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/smt2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Make .smt2 files
on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: write

jobs:
generate_smt2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Install Z3 for newer version
uses: pavpanchekha/[email protected]
with:
version: 4.12.1

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x

- name: Install Boogie
run: dotnet tool install --global boogie

- name: Make smt2 files
run: ./make_smt2.sh

- name: Commit changes
run: |
git config --global user.email "gh-action[bot]@users.noreply.github.com"
git config --global user.name "gh-action[bot]"
git symbolic-ref HEAD refs/heads/smt2
git add .
git commit -m "Update from main and rebuild `.smt2` files"
git push
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
*.smt2
*.bpl

*.log

0 comments on commit e2b5030

Please sign in to comment.