Skip to content

Commit

Permalink
Merge pull request #30 from liyishuai/ci
Browse files Browse the repository at this point in the history
GitHub Actions
  • Loading branch information
sweirich authored Nov 28, 2023
2 parents 4ea92d8 + 296db2d commit de884c2
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 81 deletions.
11 changes: 0 additions & 11 deletions .circleci/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions .circleci/Dockerfile.8.10

This file was deleted.

11 changes: 0 additions & 11 deletions .circleci/Dockerfile.8.11

This file was deleted.

47 changes: 0 additions & 47 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker CI

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

jobs:
build:
# the OS must be GNU/Linux to be able to use the docker-coq-action
runs-on: ubuntu-latest
strategy:
matrix:
coq:
- '8.18'
- '8.17'
- '8.16'
- '8.15'
- '8.14'
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: coq-community/docker-coq-action@v1
with:
opam_file: 'coq-metalib.opam'
coq_version: ${{ matrix.coq }}


# See also:
# https://github.com/coq-community/docker-coq-action#readme
# https://github.com/erikmd/docker-coq-github-action-demo
2 changes: 1 addition & 1 deletion coq-metalib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: "org:plclub"
homepage: "https://github.com/plclub/metalib"
bug-reports: "https://github.com/plclub/metalib/issues"
depends: [
"coq" {>= "8.15"}
"coq" {>= "8.14"}
]
build: [make "-j%{jobs}%" "-C" "Metalib"]
install: [make "-C" "Metalib" "install"]
Expand Down

0 comments on commit de884c2

Please sign in to comment.