Merge branch 'HDFGroup:develop' into develop #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |