forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.33 KB
/
nbsd-f-sh.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
name: nbsd f sh
on: [push, pull_request]
jobs:
test:
name: nbsd f sh
runs-on: ${{ matrix.os.host }}
strategy:
fail-fast: false
matrix:
os:
- name: netbsd
architecture: x86-64
version: '9.3'
host: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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: |
sudo pkgin -y install cmake
sudo pkgin -y install gcc7
sudo pkgin -y install git
sudo pkgin -y install mozilla-rootcerts
sudo pkgin -y install mozilla-rootcerts-openssl
export LD_LIBRARY_PATH=/usr/pkg/lib
export FC=/usr/pkg/gcc7/bin/gfortran
mkdir build
cd build
cmake \
-DBUILDNAME:STRING="f.-sh" \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-DHDF5_BUILD_FORTRAN:BOOL=ON \
-DSITE:STRING=nbsd ..
ctest -D Experimental