forked from HDFGroup/hdf4
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.24 KB
/
arm64-lin-auto.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
name: arm64 lin auto
on: [push, pull_request]
jobs:
aarch64_job:
# The host should always be Linux
runs-on: ubuntu-latest
name: Build on ubuntu-latest aarch64
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch: aarch64
distro: ubuntu_latest
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install -q -y git cmake libjpeg-dev zlib1g zlib1g-dev
apt-get install -q -y gfortran g++ yacc flex libtool autotools-dev
run: |
echo ::set-output name=uname::$(uname -a)
git clone https://github.com/HDFGroup/hdf4
cd hdf4
autoreconf -fvi
./configure --enable-shared --disable-fortran --disable-netcdf
cat ./config.log
make
make check
- name: Get the output
# Echo the `uname` output parameter from the `runcmd` step
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"