CI: timing stuff need python #426
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: CI (Coq) | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- { COQ_VERSION: "8.18.0", COQ_PACKAGE: "coq-8.18.0 libcoq-8.18.0-ocaml-dev", PPA: "ppa:jgross-h/many-coq-versions-ocaml-4-11" } | |
runs-on: ubuntu-22.04 | |
env: ${{ matrix.env }} | |
name: ${{ matrix.env.COQ_VERSION }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: install Coq | |
run: | | |
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::ocamlc -config" | |
ocamlc -config | |
echo "::endgroup::" | |
echo "::group::coqc --config" | |
coqc --config | |
echo "::endgroup::" | |
echo "::group::coqc --version" | |
coqc --version | |
echo "::endgroup::" | |
echo "::group::true | coqtop" | |
true | coqtop | |
echo "::endgroup::" | |
- name: all | |
run: etc/ci/github-actions-make.sh ${EXTRA_GH_REPORTIFY} -j2 all | |
- name: display timing info | |
run: cat time-of-build-pretty.log | |
- name: display per-line timing info | |
run: etc/ci/github-actions-display-per-line-timing.sh | |
- name: install | |
run: sudo make install |