-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (48 loc) · 1.37 KB
/
openbsd_arm64.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
name: arm64 OpenBSD 7.2 CMake
on:
push:
branches: [main]
jobs:
test: # make sure the action works on a clean machine without building
name: ${{ matrix.os.name }} ${{ matrix.os.architecture }} ${{ matrix.os.version }} on ${{ matrix.os.host }}
runs-on: ${{ matrix.os.host }}
strategy:
fail-fast: false
matrix:
os:
- name: openbsd
architecture: arm64
version: '7.2'
host: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: ${{ matrix.os.name }}
uses: cross-platform-actions/[email protected]
env:
FOO: A
BAR: B
with:
environment_variables: FOO BAR
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: '${{ matrix.os.version }}'
shell: bash
run: |
uname -a
echo $SHELL
pwd
ls -lah
whoami
env | sort
sudo pkg_add git
git clone https://github.com/hyoklee/h4
cd hdf4
sudo pkg_add cmake
sudo pkg_add jpeg
clang --print-targets
mkdir build
cd build
cmake -DHDF4_BUILD_FORTRAN:BOOL=OFF ..
make
make test