diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index c5243c3..0000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Build and Deploy documentation - -on: - push: - branches: - - master - pull_request: - branches: - - '**' - -jobs: - build-coqdoc: - runs-on: ubuntu-latest - steps: - - name: Set up Git repository - uses: actions/checkout@v2 - - - name: Build coqdoc - uses: coq-community/docker-coq-action@v1 - with: - custom_image: 'coqorg/coq:dev' - custom_script: | - {{before_install}} - startGroup "Build aac-tactics dependencies" - opam pin add -n -y -k path coq-aac-tactics . - opam update -y - opam install -y -j "$(nproc)" coq-aac-tactics --deps-only - endGroup - startGroup "Add permissions" - sudo chown -R coq:coq . - endGroup - startGroup "Build aac-tactics" - make -j "$(nproc)" - endGroup - startGroup "Build coqdoc" - make coqdoc - endGroup - startGroup "Build ocamldoc" - make ocamldoc - endGroup - - - name: Revert Coq user permissions - # to avoid a warning at cleanup time - if: ${{ always() }} - run: sudo chown -R 1001:116 . - - - name: Copy HTML and CSS and JavaScript - run: | - mkdir public - cp -r resources/index.html docs/ public/ - - - name: Deploy to GitHub pages - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - uses: crazy-max/ghaction-github-pages@v2 - with: - build_dir: public - jekyll: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/nix-action.yml b/.github/workflows/nix-action.yml deleted file mode 100644 index a341fa5..0000000 --- a/.github/workflows/nix-action.yml +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated from `meta.yml`, please do not edit manually. -# Follow the instructions on https://github.com/coq-community/templates to regenerate. -name: Nix CI - -on: - push: - branches: - - master - pull_request: - paths: - - .github/workflows/** - pull_request_target: - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - overrides: - - 'coq = "master"' - fail-fast: false - steps: - - name: Determine which commit to test - run: | - if [[ ${{ github.event_name }} =~ "pull_request" ]]; then - merge_commit=$(git ls-remote ${{ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge | cut -f1) - if [ -z "$merge_commit" ]; then - echo "tested_commit=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV - else - echo "tested_commit=$merge_commit" >> $GITHUB_ENV - fi - else - echo "tested_commit=${{ github.sha }}" >> $GITHUB_ENV - fi - - uses: cachix/install-nix-action@v20 - with: - nix_path: nixpkgs=channel:nixpkgs-unstable - - uses: cachix/cachix-action@v12 - with: - name: coq-community - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - extraPullNames: coq, math-comp - - uses: actions/checkout@v3 - with: - ref: ${{ env.tested_commit }} - - run: > - nix-build https://coq.inria.fr/nix/toolbox --argstr job aac-tactics --arg override '{ ${{ matrix.overrides }}; aac-tactics = builtins.filterSource (path: _: baseNameOf path != ".git") ./.; }' diff --git a/README.md b/README.md index febd035..068f413 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ Follow the instructions on https://github.com/coq-community/templates to regener [![coqdoc][coqdoc-shield]][coqdoc-link] [![DOI][doi-shield]][doi-link] -[docker-action-shield]: https://github.com/coq-community/aac-tactics/workflows/Docker%20CI/badge.svg?branch=master +[docker-action-shield]: https://github.com/coq-community/aac-tactics/workflows/Docker%20CI/badge.svg?branch=v8.18 [docker-action-link]: https://github.com/coq-community/aac-tactics/actions?query=workflow:"Docker%20CI" -[nix-action-shield]: https://github.com/coq-community/aac-tactics/workflows/Nix%20CI/badge.svg?branch=master +[nix-action-shield]: https://github.com/coq-community/aac-tactics/workflows/Nix%20CI/badge.svg?branch=v8.18 [nix-action-link]: https://github.com/coq-community/aac-tactics/actions?query=workflow:"Nix%20CI" [contributing-shield]: https://img.shields.io/badge/contributions-welcome-%23f7931e.svg @@ -49,7 +49,7 @@ such as for binary integer arithmetic and booleans, are provided with the plugin - Coq-community maintainer(s): - Karl Palmskog ([**@palmskog**](https://github.com/palmskog)) - License: [GNU Lesser General Public License v3.0 or later](LICENSE) -- Compatible Coq versions: master (use the corresponding branch or release for other Coq versions) +- Compatible Coq versions: 8.18 (use the corresponding branch or release for other Coq versions) - Compatible OCaml versions: 4.09.0 or later - Additional dependencies: none - Coq namespace: `AAC_tactics` diff --git a/coq-aac-tactics.opam b/coq-aac-tactics.opam index d1910b8..c7a7939 100644 --- a/coq-aac-tactics.opam +++ b/coq-aac-tactics.opam @@ -3,7 +3,7 @@ opam-version: "2.0" maintainer: "palmskog@gmail.com" -version: "dev" +version: "8.18.dev" homepage: "https://github.com/coq-community/aac-tactics" dev-repo: "git+https://github.com/coq-community/aac-tactics.git" @@ -23,7 +23,7 @@ build: ["dune" "build" "-p" name "-j" jobs] depends: [ "ocaml" {>= "4.09.0"} "dune" {>= "2.8"} - "coq" {= "dev"} + "coq" {>= "8.18" & < "8.19"} ] tags: [ diff --git a/meta.yml b/meta.yml index 42b1370..dfb6a25 100644 --- a/meta.yml +++ b/meta.yml @@ -7,7 +7,7 @@ action: true nix: true plugin: true doi: 10.1007/978-3-642-25379-9_14 -branch: master +branch: 'v8.18' coqdoc: true coqdoc_index: docs/coqdoc/toc.html @@ -42,25 +42,25 @@ maintainers: opam-file-maintainer: palmskog@gmail.com -opam-file-version: dev +opam-file-version: 8.18.dev license: fullname: GNU Lesser General Public License v3.0 or later identifier: LGPL-3.0-or-later supported_coq_versions: - text: master (use the corresponding branch or release for other Coq versions) - opam: '{= "dev"}' + text: 8.18 (use the corresponding branch or release for other Coq versions) + opam: '{>= "8.18" & < "8.19"}' supported_ocaml_versions: text: 4.09.0 or later opam: '{>= "4.09.0"}' tested_coq_nix_versions: -- coq_version: 'master' +- coq_version: '8.18' tested_coq_opam_versions: -- version: dev +- version: '8.18' namespace: AAC_tactics