Bump actions/checkout from 3 to 4 #128
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
name: Tests | |
on: [push, pull_request] | |
env: | |
CVC4_URL: "http://cvc4.cs.stanford.edu/downloads/builds/x86_64-linux-opt/cvc4-1.8-x86_64-linux-opt" | |
BOOLECTOR_URL: "https://github.com/Boolector/boolector/archive/3.2.1.tar.gz" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
racket-version: ['8.1', 'current'] | |
racket-variant: ['CS'] | |
allow-failure: [false] | |
name: Racket ${{ matrix.racket-version }} (${{ matrix.racket-variant }}) | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.allow-failure }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Racket | |
uses: Bogdanp/[email protected] | |
with: | |
architecture: x64 | |
version: ${{ matrix.racket-version }} | |
variant: ${{ matrix.racket-variant }} | |
- name: Install solvers | |
run: | | |
mkdir bin && | |
wget $CVC4_URL -nv -O bin/cvc4 && | |
chmod +x bin/cvc4 && | |
wget $BOOLECTOR_URL -nv -O boolector.tar.gz && | |
mkdir boolector && | |
tar xzf boolector.tar.gz -C boolector --strip-components=1 && | |
pushd boolector && | |
./contrib/setup-cadical.sh && | |
./contrib/setup-btor2tools.sh && | |
./configure.sh && | |
cd build && | |
make && | |
popd && | |
cp boolector/build/bin/boolector bin/ && | |
rm -rf boolector* | |
- name: Install Rosette | |
run: raco pkg install --auto --name rosette | |
- name: Compile Rosette tests | |
run: raco make test/all-rosette-tests.rkt | |
- name: Run Rosette tests | |
run: raco test test/all-rosette-tests.rkt | |
- name: Compile SDSL tests | |
run: raco make test/all-sdsl-tests.rkt | |
- name: Run SDSL tests | |
run: raco test test/all-sdsl-tests.rkt |