File tree Expand file tree Collapse file tree 5 files changed +69
-22
lines changed Expand file tree Collapse file tree 5 files changed +69
-22
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 38
38
env :
39
39
cache-name : cache-artifacts
40
40
with :
41
- path : ~/.julia/artifacts
41
+ path : ~/.julia/artifacts
42
42
key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43
43
restore-keys : |
44
44
${{ runner.os }}-test-${{ env.cache-name }}-
51
51
- uses : codecov/codecov-action@v1
52
52
with :
53
53
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
+ --net=host
49
+ install : |
50
+ ln -s /home/runner/work/julia/bin/julia /usr/local/bin/julia
51
+ echo /home/runner/work/julia/lib > /etc/ld.so.conf.d/julia.conf
52
+
53
+ run : |
54
+ julia -e 'using InteractiveUtils; versioninfo();'
55
+ julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
56
+ - uses : julia-actions/julia-processcoverage@v1
57
+ - uses : codecov/codecov-action@v1
58
+ with :
59
+ file : lcov.info
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
@test isempty (detect_ambiguities (FixedPointNumbers, Base, Core))
7
7
end
8
8
9
- using Documenter
10
- doctest (FixedPointNumbers, manual = false )
9
+ if Sys. ARCH === :x86_64 || Sys. ARCH === :i686
10
+ using Documenter
11
+ doctest (FixedPointNumbers, manual = false )
12
+ end
11
13
12
14
@testset " normed" begin
13
15
include (" normed.jl" )
You can’t perform that action at this time.
0 commit comments