From 397bd3c57ad4900d6b8a0d15a71ebe06e2ca6b96 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 16 Sep 2025 13:56:43 -0300 Subject: [PATCH 1/4] add test script to ci for mac-os #118 --- .github/workflows/macos.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 753d304..6c61684 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -23,3 +23,11 @@ jobs: - name: Check ForeFire version run: ./bin/forefire -v + + - name: Install Python test dependencies + run: pip3 install lxml xarray netCDF4 + + - name: Run 'runff' Test Script + run: | + cd tests/runff + bash ff-run.bash \ No newline at end of file From 905f2a4b6a9b86aef31133d1fb34ce99d51f4298 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 16 Sep 2025 14:00:57 -0300 Subject: [PATCH 2/4] macos #118 --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6c61684..916d529 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -25,7 +25,7 @@ jobs: run: ./bin/forefire -v - name: Install Python test dependencies - run: pip3 install lxml xarray netCDF4 + run: pip3 install --break-system-packages lxml xarray netCDF4 - name: Run 'runff' Test Script run: | From b85b83c7d871e1a95144f35d76841fc517ca52f0 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 16 Sep 2025 14:16:57 -0300 Subject: [PATCH 3/4] still mac #118 --- .github/workflows/macos.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 916d529..6d8c892 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -8,12 +8,13 @@ on: branches: [ "master" ] workflow_dispatch: -jobs: - build-native-macos: +jobs build-native-macos: runs-on: macos-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + lfs: true - name: Make install script executable run: chmod +x ./install-forefire-osx.sh @@ -27,6 +28,13 @@ jobs: - 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 From 85448c5abeddf3b541e14814d92246c69f3b79b1 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 16 Sep 2025 15:02:11 -0300 Subject: [PATCH 4/4] fix ident #118 --- .github/workflows/macos.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6d8c892..6dac74e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -8,7 +8,8 @@ on: branches: [ "master" ] workflow_dispatch: -jobs build-native-macos: +jobs: + build-native-macos: runs-on: macos-latest steps: - name: Checkout repository