Skip to content

Commit 4b25b99

Browse files
committed
set up Github Action CI
1 parent ac0fb75 commit 4b25b99

File tree

5 files changed

+47
-45
lines changed

5 files changed

+47
-45
lines changed

.github/workflows/TagBot.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1

.github/workflows/docs.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Documentation
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- 'master'
8+
- 'release-'
9+
tags: '*'
10+
11+
jobs:
12+
deploy_html:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Install Julia
17+
run: |
18+
pip install jill
19+
jill install --confirm
20+
- name: Install dependencies
21+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
22+
- name: Build and deploy
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
26+
run: |
27+
julia -e 'include("contrib/build_sysimg.jl"); build_sysimg(force=true)'
28+
julia --project=doc/ doc/make.jl deploy
29+
# build_pdf:
30+
# runs-on: ubuntu-latest
31+
# steps:
32+
# - uses: actions/checkout@v2
33+
# - name: Build and deploy
34+
# uses: docker://tianjun2018/documenter-latex:latest
35+
# run: |
36+
# apt-get update -q && apt-get install python3-pip -yq
37+
# pip3 install jill && jill install --confirm
38+
# julia -e 'using InteractiveUtils; versioninfo()'
39+
# ls -al
40+
# julia --project=doc/ -e 'using Pkg; Pkg.develop(PacakageSpec(path=pwd())); Pkg.instantiate()'
41+
# julia --project=doc/ doc/make.jl pdf texplatform=native
42+
File renamed without changes.

REQUIRE

-1
This file was deleted.

appveyor.yml

-42
This file was deleted.

0 commit comments

Comments
 (0)