forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.18 KB
/
arm64-lin.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
name: arm64 lin
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/[email protected]
- 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
apt-get install -q -y cmake
run: |
echo ::set-output name=uname::$(uname -a)
git clone https://github.com/hyoklee/hdf5
cd hdf5
mkdir build
cd build
cmake \
-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF \
-DH5EX_BUILD_EXAMPLES:BOOL=OFF \
..
make
make test
- name: Get the output
# Echo the `uname` output parameter from the `runcmd` step
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"