Skip to content

Enhance clarity and readability in paper.md (#141) #235

Enhance clarity and readability in paper.md (#141)

Enhance clarity and readability in paper.md (#141) #235

Workflow file for this run

name: Linux
on:
push:
branches:
- "master"
# - "dev"
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-native:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true # we use LFS to store large files (e.g. data.nc)
- name: Verify LFS test asset (data.nc)
run: |
bash ./tools/preflight/verify-lfs.sh
- name: Install Dependencies (Build + Test)
run: |
sudo apt-get update -y
# Install build tools
sudo apt-get install -y --no-install-recommends build-essential cmake
# Install NetCDF libraries (C++ legacy for build, C base for Python test)
sudo apt-get install -y --no-install-recommends libnetcdf-dev libnetcdf-c++4-dev
# Install Python and pip
sudo apt-get install -y --no-install-recommends python3 python3-pip
# Keep strace installed for potential future debugging
sudo apt-get install -y --no-install-recommends strace
# === ADD ANY OTHER ForeFire build dependencies (e.g. MPI) ===
# pip install Python test dependencies
pip3 install --no-cache-dir lxml xarray netCDF4
- name: ForeFire build
run: sudo bash ./install-forefire.sh -y
- name: Check ForeFire version
run: ./bin/forefire -v
- name: Add Build/Runtime Diagnostics
run: |
echo "--- ForeFire Linkage ---"
ldd ./bin/forefire | grep -i 'netcdf' || echo "Warning: NetCDF library not dynamically linked?"
echo "--- Input data.nc Info ---"
ls -lh tests/runff/data.nc
# Install ncdump tool and check the format kind
sudo apt-get install -y --no-install-recommends netcdf-bin
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 # Execute the complete test logic script