Skip to content

Commit

Permalink
WIP docker
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Jul 27, 2024
1 parent 64dc61a commit 66e70a4
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 4,980 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Docker CI

on:
push:
branches:
- master
pull_request:
branches:
- '**'

jobs:
build-coq:
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
repository: proux01/coq
ref: split_stdlib
- name: List
run: ls -a
- name: Install prerequisite
run: |
#apt-get install --no-install-recommends -y -qq perl libgmp-dev
opam init
opam install dune ocamlfind zarith
- name: Build
run: |
make dunestrap
dune build -p coq-core,coq-stdlib @install
- name: Install
run: dune install coq-core coq-stdlib
build-stdlib:
needs:
- build-coq
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Build
run: "make"
- name: Install
run: "make install"
build-coqutil:
needs:
- build-stdlib
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
repository: mit-plv/fiat-crypto
ref: master
submodules: recursive
- name: Build
run: "ls"
Loading

0 comments on commit 66e70a4

Please sign in to comment.