Skip to content

Commit be2ccc2

Browse files
committed
Rel 1.0.1
1 parent 72431fa commit be2ccc2

File tree

5 files changed

+96
-2
lines changed

5 files changed

+96
-2
lines changed

.github/workflows/CI.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
continue-on-error: ${{ matrix.version == 'nightly' }}
13+
strategy:
14+
matrix:
15+
version:
16+
- '1'
17+
#- nightly
18+
os:
19+
- ubuntu-latest
20+
#- macOS-latest
21+
#- windows-latest
22+
arch:
23+
- x86
24+
- x64
25+
exclude:
26+
- os: windows-latest
27+
arch: x86
28+
- os: macOS-latest
29+
arch: x86
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: julia-actions/setup-julia@v1
33+
with:
34+
version: ${{ matrix.version }}
35+
arch: ${{ matrix.arch }}
36+
- uses: actions/cache@v1
37+
env:
38+
cache-name: cache-artifacts
39+
with:
40+
path: ~/.julia/artifacts
41+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42+
restore-keys: |
43+
${{ runner.os }}-test-${{ env.cache-name }}-
44+
${{ runner.os }}-test-
45+
${{ runner.os }}-
46+
- uses: julia-actions/julia-buildpkg@latest
47+
- uses: julia-actions/julia-runtest@latest
48+
- uses: julia-actions/julia-processcoverage@v1
49+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
50+
- uses: codecov/codecov-action@v1
51+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
52+
with:
53+
file: lcov.info
54+
- uses: coverallsapp/github-action@master
55+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
56+
with:
57+
github-token: ${{ secrets.GITHUB_TOKEN }}
58+
path-to-lcov: lcov.info

.github/workflows/CompatHelper.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name: CompatHelper
33
on:
44
schedule:
55
- cron: '00 00 * * *'
6+
issues:
7+
types: [opened, reopened]
68

79
jobs:
8-
CompatHelper:
10+
build:
911
runs-on: ${{ matrix.os }}
1012
strategy:
1113
matrix:
@@ -21,4 +23,12 @@ jobs:
2123
- name: CompatHelper.main()
2224
env:
2325
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
run: julia -e 'using CompatHelper; CompatHelper.main()'
26+
run: >-
27+
julia -e '
28+
using CompatHelper;
29+
CompatHelper.main() do;
30+
run(`julia --project=test -e "import Pkg; Pkg.instantiate(); Pkg.update()"`);
31+
run(`julia --project=docs -e "import Pkg; Pkg.instantiate(); Pkg.update()"`);
32+
end
33+
'
34+

.github/workflows/Documenter.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
8+
tags: '*'
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: julia-actions/setup-julia@latest
17+
with:
18+
version: '1'
19+
- name: Install dependencies
20+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
21+
- name: Build and deploy
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
24+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
25+
run: julia --project=docs/ docs/make.jl

.github/workflows/TagBot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
1010
runs-on: ubuntu-latest
1111
steps:
12+
- uses: actions/checkout@v1
1213
- uses: JuliaRegistries/TagBot@v1
1314
with:
1415
token: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.

0 commit comments

Comments
 (0)