@@ -10,12 +10,10 @@ jobs:
1010 runs-on : ubuntu-latest # container actions require GNU/Linux
1111 strategy :
1212 matrix :
13- coq_container :
14- # - coqorg/coq:8.12.2
15- # - coqorg/coq:8.16.1-ocaml-4.13.1-flambda
16- - coqorg/coq:8.18.0-ocaml-4.13.1-flambda
13+ rocq_container :
14+ - rocq/rocq-prover:9.0.1-ocaml-4.14.2-flambda
1715 container :
18- image : ${{ matrix.coq_container }}
16+ image : ${{ matrix.rocq_container }}
1917 options : --user root
2018 steps :
2119 - uses : actions/checkout@v4
2624 - name : ls
2725 run : ls -la .
2826 - name : Install Opam dependencies
29- run : su coq -c 'eval $(opam env) && opam install --deps-only --with-test --with-doc -y -j 2 ./Formal_ML.opam'
27+ run : su rocq -c 'eval $(opam env) && opam install --deps-only --with-test --with-doc -y -j 2 ./Formal_ML.opam'
3028 - name : Build using Make
31- run : su coq -c 'eval $(opam env) && make -kj 2'
29+ run : su rocq -c 'eval $(opam env) && make -kj 2'
3230 - name : Build documentation
33- run : su coq -c 'eval $(opam env) && make -kj 2 doc'
34-
35- # - uses: coq-community/docker-coq-action@v1
36- # with:
37- # opam_file: 'Formal_ML.opam'
38- # coq_version: ${{ matrix.coq_version }}
39- # ocaml_version: ${{ matrix.ocaml_version }}
40- # # export: 'OPAMWITHTEST OPAMWITHDOC'
41- # export: 'OPAMWITHDOC'
42- # after_script: |
43- # sudo cp -a $(opam config var Formal_ML:build)/documentation .
44- # env:
45- # OPAMWITHDOC: 'true'
46- # OPAMWITHTEST: 'true'
47- # - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
48- # name: deploy documentation
49- # uses: JamesIves/github-pages-deploy-action@3.7.1
50- # with:
51- # ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
52- # REPOSITORY_NAME: FormalML/FormalML.github.io # the target repository
53- # TARGET_FOLDER: main/documentation # target directory
54- # BRANCH: main # The branch the action should deploy to.
55- # FOLDER: documentation # The folder the action should deploy.
56- # CLEAN: true # Automatically remove deleted files from the deploy branch
31+ run : su rocq -c 'eval $(opam env) && make -kj 2 doc'
0 commit comments