Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test more versions of Coq #100

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,14 @@ jobs:
submodules: recursive
- name: SCRIPT
run: ./etc/coq-scripts/timing/make-pretty-timed.sh -j$NJOBS $TARGETS $FLAGS && make TIMED=1 -j$NJOBS $TARGETS


check-all:
runs-on: ubuntu-latest
needs: [build]
if: always()
steps:
- run: echo 'build passed'
if: ${{ needs.build.result == 'success' }}
- run: echo 'build failed' && false
if: ${{ needs.build.result != 'success' }}
27 changes: 22 additions & 5 deletions .github/workflows/docker-coq.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI (Coq, docker, dev)
name: CI (Coq, docker)

on:
push:
Expand All @@ -7,6 +7,11 @@ on:

jobs:
build:
strategy:
fail-fast: false
matrix:
coq-version: [ "dev" , "8.18" , "8.17" , "8.16" ]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,17 +20,29 @@ jobs:
- name: all
uses: coq-community/docker-coq-action@v1
with:
coq_version: dev
ocaml_version: 4.13-flambda
coq_version: ${{ matrix.coq-version }}
ocaml_version: default
custom_script: |
sudo chmod -R a+rw .
echo '::group::install general dependencies'
startGroup 'install general dependencies'
sudo apt-get update -y
sudo apt-get install -y python python3
eval $(opam env)
echo '::endgroup::'
endGroup
export TARGETS="fiat-core parsers"
export FLAGS="PROFILE=1"
export NJOBS="2"
git config --global --add safe.directory "*"
startGroup make
etc/coq-scripts/timing/make-pretty-timed.sh -j$NJOBS $TARGETS $FLAGS && make TIMED=1 -j$NJOBS $TARGETS
endGroup

check-all-docker:
runs-on: ubuntu-latest
needs: [build]
if: always()
steps:
- run: echo 'build passed'
if: ${{ needs.build.result == 'success' }}
- run: echo 'build failed' && false
if: ${{ needs.build.result != 'success' }}
Loading