Merge pull request #37 from Villetaneuse/rm_arith_files #24
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
# Based on a similar workflow for the mit-plv/bedrock2 repo, which is based on mit-plv/rupicola, which is based on mit-plv/fiat-crypto | |
name: Coq | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
env: | |
- { COQ_VERSION: "8.16.0", COQ_PACKAGE: "coq-8.16.0 libcoq-8.16.0-ocaml-dev", PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-11" } | |
- { COQ_VERSION: "master", COQ_PACKAGE: "coq libcoq-core-ocaml-dev" , PPA: "ppa:jgross-h/coq-master-daily" } | |
fail-fast: false | |
env: ${{ matrix.env }} | |
steps: | |
- name: install Coq | |
run: | | |
sudo sed -i 's/azure\.//' /etc/apt/sources.list | |
if [ ! -z "$PPA" ]; then sudo add-apt-repository "$PPA" -y; fi | |
sudo apt-get -o Acquire::Retries=30 update -q | |
sudo apt-get -o Acquire::Retries=30 install ocaml-findlib $COQ_PACKAGE -y --allow-unauthenticated | |
- name: echo build params | |
run: | | |
echo "::group::lscpu" | |
lscpu | |
echo "::endgroup::" | |
echo "::group::uname -a" | |
uname -a | |
echo "::endgroup::" | |
echo "::group::lsb_release -a" | |
lsb_release -a | |
echo "::endgroup::" | |
echo "::group::gcc -v" | |
gcc -v | |
echo "::endgroup::" | |
echo "::group::ocamlc -config" | |
ocamlc -config | |
echo "::endgroup::" | |
echo "::group::coqc --config" | |
coqc --config | |
echo "::endgroup::" | |
echo "::group::coqc --version" | |
coqc --version | |
echo "::endgroup::" | |
echo "::group::echo | coqtop" | |
echo | coqtop | |
echo "::endgroup::" | |
- uses: actions/checkout@v3 | |
- name: re-enable skipped proofs so that they are checked | |
run: ./skip_proof.sh -r | |
- name: make | |
run: TIMED=1 make |