-
Notifications
You must be signed in to change notification settings - Fork 34
42 lines (34 loc) · 1020 Bytes
/
macos.yml
File metadata and controls
42 lines (34 loc) · 1020 Bytes
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: macOS
on:
push:
branches:
- brew
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-native-macos:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
- name: Make install script executable
run: chmod +x ./install-forefire-osx.sh
- name: Build ForeFire using macOS install script
run: ./install-forefire-osx.sh
- name: Check ForeFire version
run: ./bin/forefire -v
- name: Install Python test dependencies
run: pip3 install --break-system-packages lxml xarray netCDF4
- name: Add Build/Runtime Diagnostics
run: |
echo "--- Input data.nc Info ---"
ls -lh tests/runff/data.nc
brew install netcdf
ncdump -k tests/runff/data.nc || echo "Could not check data.nc format"
- name: Run 'runff' Test Script
run: |
cd tests/runff
bash ff-run.bash