Skip to content

correct imports

correct imports #11

Workflow file for this run

name: Coq Verification
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
verify:
runs-on: ubuntu-latest
env:
# Ensure non-interactive opam commands
OPAMYES: "1"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y opam git autoconf g++ m4 wget
- name: Initialize opam and create switch for Coq 8.14.1
run: |
# Initialize opam (non-interactive)
opam init --disable-sandboxing -y
# Create a switch with Coq 8.14.1 (OCaml 4.14.1 is used by Coq 8.14.1)
opam switch create coq-8.14.1 --packages=coq.8.14.1
eval $(opam env --switch=coq-8.14.1)
opam update -y
- name: Add Coq-released repository and install Coquelicot
run: |
# Add the Coq repository containing released Coq packages (including Coquelicot)
opam repo add coq-released https://coq.inria.fr/opam/released --yes
opam update -y
# Install Coquelicot 3.2.0 (compatible with Coq 8.14.1)
opam install -y coq-coquelicot.3.2.0
# Refresh environment
eval $(opam env --switch=coq-8.14.1)
- name: Run Coq Verification
run: |
eval $(opam env --switch=coq-8.14.1)
# Compile all Coq files found in the 'coq' directory.
# Replace this with your project's build command if you use a Makefile.
find coq -name '*.v' -print0 | xargs -0 -n1 coqc