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 : Unit Test
24
+ with :
25
+ arch : ${{ matrix.arch }}
26
+ distro : ${{ matrix.distro }}
27
+ shell : bin/bash
28
+ setup : |
29
+ pwd
30
+ echo "This setup script is $0"
31
+ less "$(dirname $0)/run-on-arch-commands.sh"
32
+ # FIXME
33
+ run : |
34
+ ls -al
35
+ ;
36
+
37
+ # apt-get update -y
38
+ # apt-get install -y --no-install-recommends wget ca-certificates
39
+ # case "${{ matrix.julia-version }}" in
40
+ # "1.0" )
41
+ # wget -nv https://julialang-s3.julialang.org/bin/linux/aarch64/1.0/julia-1.0.5-linux-aarch64.tar.gz
42
+ # ;;
43
+ # "1" )
44
+ # wget -nv https://julialang-s3.julialang.org/bin/linux/aarch64/1.5/julia-1.5.3-linux-aarch64.tar.gz
45
+ # ;;
46
+ # "nightly" )
47
+ # wget -nv https://julialangnightlies-s3.julialang.org/bin/linux/aarch64/julia-latest-linuxaarch64.tar.gz
48
+ # ;;
49
+ # esac
50
+ # tar -xzf julia-*aarch64.tar.gz
51
+ # ln julia-*/bin/julia /usr/local/bin/julia
52
+ # julia -e 'using InteractiveUtils; versioninfo();'
53
+ # julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
54
+ # # julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit_local(process_folder())'
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