-
Notifications
You must be signed in to change notification settings - Fork 53
66 lines (59 loc) · 1.51 KB
/
arm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: "ARM build"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 7 * * 2'
jobs:
build:
runs-on: ubuntu-latest
name: Build on ${{ matrix.arch }}
# Run steps on a matrix of 3 arch/distro combinations
strategy:
matrix:
include:
- arch: aarch64
- arch: armv7
- arch: armv6
steps:
- name: Repository checkout
uses: actions/checkout@v3
- name: Test on ARM architecture
uses: uraimo/run-on-arch-action@v2 # see https://github.com/uraimo/run-on-arch-action
id: runcmd
with:
arch: ${{ matrix.arch }}
distro: bullseye
run: |
cat /etc/os-release
uname -a
whoami
tty || echo
pwd
# Install dependencies via apt-get
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
apt-get update
apt-get -y install \
ca-certificates \
make \
gcc \
g++ \
gpm \
libgpm-dev \
libcppunit-dev \
libncurses-dev \
pkg-config \
libtool \
automake \
autoconf \
autoconf-archive
# Build
g++ --version
autoreconf -v --install --force
./configure --prefix=/usr
make -j10
- name: Get the output
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"