-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.yml
109 lines (89 loc) · 2.74 KB
/
meta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
fullname: Template for Coq-Projects on Github
shortname: comoproj
branch: main
organization: motrellin
action: true
action_appendix: |2-
before_install: |-
startGroup "Print opam config"
opam config list; opam repo list; opam list
endGroup
startGroup "Build _CoqProject"
sudo chown -R coq:coq .
make _CoqProject
endGroup
after_script: |-
make coqdoc
mkdir public
cp -r html public/docs
cp resources/index.md public/index.md
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: html-output
path: public
- name: Revert Coq user permissions
# to avoid a warning at cleanup time
if: ${{ always() }}
run: sudo chown -R 1001:116 .
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: html-output
path: ./out
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
publish_branch: gh-pages
enable_jekyll: true
community: false
coqdoc: true
submodule: true #At least for coqdocjs
synopsis: A dummy template for Github Coq-Projects
description: |
No special package. Just used to illustrate a possible template for
Github Coq-Projects.
#chat:
authors:
- name: Max Ole Elliger
initial: true
email: [email protected]
maintainers:
- name: Max Ole Elliger
nickname: motrellin
license:
fullname: GNU General Public License v3.0 or later
identifier: GPL-3.0-or-later
supported_coq_versions:
text: Developed for 8.19.0
opam: '{ "8.19" }'
#namespace: CoMoTemplTest
dependencies:
- description: Coq Equations
opam:
name: coq-equations
namespace: CoMoProj
make_target: all
documentation: |-
## Documentation
This project contains a template for Github Coq-Projects. It aims to combine
several helpful approaches:
- [Auto-Generating _CoqProject](https://gitlab.cs.fau.de/oc59yqul/template-coq)
- [Generic repository infrastructure](https://github.com/coq-community/templates)
- [CoqdocJS](https://github.com/coq-community/coqdocjs)
#index_documentation:
coqdoc_index: ./docs/toc.html
opam-file-maintainer: [email protected]
tested_coq_opam_versions:
- version: '8.19'