Skip to content

ci: fix yml

ci: fix yml #102

Workflow file for this run

name: arm64 CMake
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@v3
- 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 gfortran g++
apt-get install -q -y git cmake libjpeg-dev zlib1g zlib1g-dev
run: |
echo ::set-output name=uname::$(uname -a)
git clone https://github.com/hyoklee/h4
cd h4
mkdir build
cd build
cmake -DHDF4_BUILD_FORTRAN: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 }}"