Dev to master #104
This file contains hidden or 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: 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 |