File tree Expand file tree Collapse file tree 4 files changed +71
-26
lines changed Expand file tree Collapse file tree 4 files changed +71
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : TagBot
2
2
on :
3
- schedule :
4
- - cron : 0 * * * *
3
+ issue_comment :
4
+ types :
5
+ - created
6
+ workflow_dispatch :
5
7
jobs :
6
8
TagBot :
9
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
7
10
runs-on : ubuntu-latest
8
11
steps :
9
12
- uses : JuliaRegistries/TagBot@v1
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ name: Unit test
3
3
on :
4
4
create :
5
5
tags :
6
- push :
7
- branches :
8
- - master
9
- pull_request :
10
- schedule :
11
- - cron : ' 20 00 1 * *'
6
+ # FIXME: temporarily commenting out
7
+ # push:
8
+ # branches:
9
+ # - master
10
+ # pull_request:
11
+ # schedule:
12
+ # - cron: '20 00 1 * *'
12
13
13
14
jobs :
14
15
test :
38
39
env :
39
40
cache-name : cache-artifacts
40
41
with :
41
- path : ~/.julia/artifacts
42
+ path : ~/.julia/artifacts
42
43
key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43
44
restore-keys : |
44
45
${{ runner.os }}-test-${{ env.cache-name }}-
51
52
- uses : codecov/codecov-action@v1
52
53
with :
53
54
file : lcov.info
54
-
55
-
Original file line number Diff line number Diff line change
1
+ name : Unit test for Arm
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ workflow_dispatch :
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ julia-version : ['1.0', '1', 'nightly']
16
+ os : [ubuntu-20.04]
17
+ distro : [ubuntu20.04]
18
+ arch : [aarch64]
19
+
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+
23
+ - name : Download Julia Binary
24
+ # FIXME
25
+ run : |
26
+ cd /tmp
27
+ case "${{ matrix.julia-version }}" in
28
+ "1.0" )
29
+ wget -nv https://julialang-s3.julialang.org/bin/linux/aarch64/1.0/julia-1.0.5-linux-aarch64.tar.gz
30
+ ;;
31
+ "1" )
32
+ wget -nv https://julialang-s3.julialang.org/bin/linux/aarch64/1.5/julia-1.5.3-linux-aarch64.tar.gz
33
+ ;;
34
+ "nightly" )
35
+ wget -nv https://julialangnightlies-s3.julialang.org/bin/linux/aarch64/julia-latest-linuxaarch64.tar.gz
36
+ ;;
37
+ esac
38
+ tar -xzf julia-*aarch64.tar.gz -C /home/runner/work/
39
+ mv /home/runner/work/julia-*/ /home/runner/work/julia/
40
+ rm julia-*aarch64.tar.gz
41
+
42
+ name : Unit Test
43
+ with :
44
+ arch : ${{ matrix.arch }}
45
+ distro : ${{ matrix.distro }}
46
+ dockerRunArgs : |
47
+ -v "/home/runner/work/julia:/home/runner/work/julia"
48
+ install : |
49
+ ln -s /home/runner/work/julia/bin/julia /usr/local/bin/julia
50
+ echo /home/runner/work/julia/lib > /etc/ld.so.conf.d/julia.conf
51
+
52
+ run : |
53
+ julia -e 'using InteractiveUtils; versioninfo();'
54
+ julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
55
+ - uses : julia-actions/julia-processcoverage@v1
56
+ - uses : codecov/codecov-action@v1
57
+ with :
58
+ file : lcov.info
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments