File tree 2 files changed +63
-11
lines changed
2 files changed +63
-11
lines changed Original file line number Diff line number Diff line change
1
+ task :
2
+ matrix :
3
+ - name : FreeBSD
4
+ freebsd_instance :
5
+ image_family : freebsd-13-1
6
+ env :
7
+ JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
8
+ matrix :
9
+ # - JULIA_VERSION: 1.6 # Has problems with libcurl
10
+ - JULIA_VERSION : 1
11
+ # - JULIA_VERSION: nightly # not available
12
+ - name : Linux ARMv8
13
+ arm_container :
14
+ image : ubuntu:latest
15
+ env :
16
+ JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
17
+ matrix :
18
+ - JULIA_VERSION : 1.6
19
+ - JULIA_VERSION : 1
20
+ - JULIA_VERSION : nightly
21
+ - name : MacOS M1
22
+ macos_instance :
23
+ image : ghcr.io/cirruslabs/macos-monterey-base:latest
24
+ env :
25
+ JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
26
+ matrix :
27
+ # - JULIA_VERSION: 1.6 # not available
28
+ - JULIA_VERSION : 1
29
+ - JULIA_VERSION : nightly
30
+
31
+ allow_failures : $JULIA_VERSION == 'nightly'
32
+ install_script : |
33
+ URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh"
34
+ set -x
35
+ if [ "$(uname -s)" = "Linux" ] && command -v apt; then
36
+ apt update
37
+ apt install -y curl
38
+ fi
39
+ if command -v curl; then
40
+ sh -c "$(curl ${URL})"
41
+ elif command -v wget; then
42
+ sh -c "$(wget ${URL} -O-)"
43
+ elif command -v fetch; then
44
+ sh -c "$(fetch ${URL} -o -)"
45
+ else
46
+ echo "No downloader installed! :( Install one! :)"
47
+ fi
48
+ build_script :
49
+ - cirrusjl build
50
+ test_script :
51
+ - cirrusjl test
52
+ coverage_script :
53
+ - cirrusjl coverage codecov
Original file line number Diff line number Diff line change 1
1
name : CI
2
+
2
3
on :
3
4
pull_request :
4
5
branches :
7
8
branches :
8
9
- master
9
10
tags : ' *'
11
+
12
+ concurrency :
13
+ # Skip intermediate builds: always.
14
+ # Cancel intermediate builds: always.
15
+ group : ${{ github.workflow }}-${{ github.ref }}
16
+ cancel-in-progress : true
17
+
10
18
jobs :
11
19
test :
12
20
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -30,21 +38,12 @@ jobs:
30
38
- os : macOS-latest
31
39
arch : x86
32
40
steps :
33
- - uses : actions/checkout@v2
41
+ - uses : actions/checkout@v3
34
42
- uses : julia-actions/setup-julia@v1
35
43
with :
36
44
version : ${{ matrix.version }}
37
45
arch : ${{ matrix.arch }}
38
- - uses : actions/cache@v2
39
- env :
40
- cache-name : cache-artifacts
41
- with :
42
- path : ~/.julia/artifacts
43
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
44
- restore-keys : |
45
- ${{ runner.os }}-test-${{ env.cache-name }}-
46
- ${{ runner.os }}-test-
47
- ${{ runner.os }}-
46
+ - uses : julia-actions/cache@v1
48
47
- uses : julia-actions/julia-buildpkg@v1
49
48
- uses : julia-actions/julia-runtest@v1
50
49
- uses : julia-actions/julia-processcoverage@v1
You can’t perform that action at this time.
0 commit comments