-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91ca67c
commit e2b5030
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
*.smt2 | ||
*.bpl | ||
|
||
*.log |