Skip to content

Commit

Permalink
Build main/HEAD of Apalache until new official Apalache builds are av…
Browse files Browse the repository at this point in the history
…ailable.

apalache-mc/apalache#2951

[Build]

Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
  • Loading branch information
lemmy committed Aug 19, 2024
1 parent 48316b6 commit decd45d
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/tla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,30 @@ jobs:
with:
distribution: 'microsoft'
java-version: '17'
- name: Setup
- name: Install Apalache's scala-sbt build dependency
run: |
wget https://github.com/informalsystems/apalache/releases/latest/download/apalache.tgz
tar zxvf apalache.tgz
- name: Typecheck
## https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html#Ubuntu+and+other+Debian-based+distributions
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg
sudo apt-get update
sudo apt-get install sbt --no-install-recommends -y
- name: Build Apalache
run: |
./apalache/bin/apalache-mc typecheck APApbft.tla
git clone https://github.com/apalache-mc/apalache.git
cd apalache
make package ## do not run Apalache's unit tests
- name: Type- and (ordinary) invariant checking with Apalache
run: |
./apalache/bin/apalache-mc check --config=APApbft.cfg APApbft.tla
- name: Upload Apalache's counterexample (if any)
uses: actions/upload-artifact@v4
if: always()
with:
path: |
_apalache-out/APApbft.tla/
tlc:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit decd45d

Please sign in to comment.