Skip to content

Commit 13109c4

Browse files
committed
Use GitHub Actions for unit testing on Arm arch.
The test runs on a docker container with QEMU. This also updates TagBot.yml.
1 parent 1e14ce6 commit 13109c4

File tree

3 files changed

+45
-17
lines changed

3 files changed

+45
-17
lines changed

.github/workflows/TagBot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1

.github/workflows/UnitTestArm.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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-18.04]
17+
distro: [ubuntu18.04]
18+
arch: [aarch64]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: uraimo/[email protected]
23+
with:
24+
arch: ${{ matrix.arch }}
25+
distro: ${{ matrix.distro }}
26+
shell: bin/bash
27+
install: |
28+
apt-get update -y
29+
apt-get install -y --no-install-recommends python3 python3-pip gnupg
30+
python3 -m pip install --user -U jill
31+
python3 -m jill install ${{ matrix.julia-version }} --confirm --upstream Official
32+
if [ "${{ matrix.julia-version }}" = "nightly" ]; then
33+
ln -L /usr/local/bin/julia-latest /usr/local/bin/julia
34+
fi
35+
run: |
36+
ls -al
37+
38+
# julia -e 'using InteractiveUtils; versioninfo();'
39+
# julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
40+
# julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit_local(process_folder())'

.travis.yml

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

0 commit comments

Comments
 (0)