Skip to content

Commit 780257c

Browse files
authored
Update compat (#23)
1 parent d2ae0b4 commit 780257c

File tree

5 files changed

+81
-137
lines changed

5 files changed

+81
-137
lines changed

.github/workflows/CI.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
test:
10+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
version:
16+
- '1'
17+
- '1.5'
18+
- 'nightly'
19+
os:
20+
- ubuntu-latest
21+
arch:
22+
- x64
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: julia-actions/setup-julia@v1
26+
with:
27+
version: ${{ matrix.version }}
28+
arch: ${{ matrix.arch }}
29+
- uses: actions/cache@v1
30+
env:
31+
cache-name: cache-artifacts
32+
with:
33+
path: ~/.julia/artifacts
34+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
35+
restore-keys: |
36+
${{ runner.os }}-test-${{ env.cache-name }}-
37+
${{ runner.os }}-test-
38+
${{ runner.os }}-
39+
- uses: julia-actions/julia-buildpkg@v1
40+
- uses: julia-actions/julia-runtest@v1
41+
# docs:
42+
# name: Documentation
43+
# runs-on: ubuntu-latest
44+
# steps:
45+
# - uses: actions/checkout@v2
46+
# - uses: julia-actions/setup-julia@v1
47+
# with:
48+
# version: '1'
49+
# - uses: julia-actions/julia-buildpkg@v1
50+
# - uses: julia-actions/julia-docdeploy@v1
51+
# env:
52+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
54+
# - run: |
55+
# julia --project=docs -e '
56+
# using Documenter: DocMeta, doctest
57+
# using MPIClusterManager
58+
# DocMeta.setdocmeta!(MPIClusterManager, :DocTestSetup, :(using MPIClusterManager); recursive=true)
59+
# doctest(MPIClusterManager)'

.github/workflows/CompatHelper.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
5-
- cron: '00 00 * * *'
6-
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
76
jobs:
87
CompatHelper:
98
runs-on: ubuntu-latest
109
steps:
11-
- name: Pkg.add("CompatHelper")
12-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
13-
- name: CompatHelper.main()
10+
- name: "Add the General registry via Git"
11+
run: |
12+
import Pkg
13+
ENV["JULIA_PKG_SERVER"] = ""
14+
Pkg.Registry.add("General")
15+
shell: julia --color=yes {0}
16+
- name: "Install CompatHelper"
17+
run: |
18+
import Pkg
19+
name = "CompatHelper"
20+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
21+
version = "3"
22+
Pkg.add(; name, uuid, version)
23+
shell: julia --color=yes {0}
24+
- name: "Run CompatHelper"
25+
run: |
26+
import CompatHelper
27+
CompatHelper.main()
28+
shell: julia --color=yes {0}
1429
env:
1530
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1631
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
17-
run: julia -e 'using CompatHelper; CompatHelper.main()'

.travis.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1010
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
1111

1212
[compat]
13-
MPI = "0.14, 0.15"
13+
MPI = "0.14, 0.15, 0.19"
1414
julia = "1"
1515

1616
[extras]

conf/travis-install-mpi.sh

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)