Skip to content

FireX: Merge with firemodels/master #3672

FireX: Merge with firemodels/master

FireX: Merge with firemodels/master #3672

Workflow file for this run

name: github-linux
on:
push:
paths:
- .github/**
- Build/**
- Source/**
pull_request:
paths:
- .github/**
- Build/**
- Source/**
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
linux-intel-intelmpi:
# build on ubuntu using ifort with intelmpi and mkl based on
# https://github.com/oneapi-src/oneapi-ci
name: linux intel intelmpi
runs-on: [ubuntu-latest]
steps:
- uses: rscohn2/setup-oneapi@v0
with:
components: |
[email protected]
[email protected]
[email protected]
prune: false
- uses: actions/checkout@v6
- name: build fds debug
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/impi_intel_linux_db
./make_fds.sh
./fds_impi_intel_linux_db
- name: build fds release
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/impi_intel_linux
./make_fds.sh
./fds_impi_intel_linux
linux-gnu-openmpi:
# build on ubuntu using gfortran with openmpi and mkl based on
# https://github.com/oneapi-src/oneapi-ci
name: linux gnu openmpi
runs-on: [ubuntu-latest]
steps:
- name: install openmpi
run: |
sudo apt-get update
sudo apt-get install libopenmpi-dev openmpi-bin
- uses: rscohn2/setup-oneapi@v0
with:
components: |
[email protected]
prune: false
- uses: actions/checkout@v6
- name: build fds debug
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/ompi_gnu_linux_db
./make_fds.sh
./fds_ompi_gnu_linux_db
- name: build fds release
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/ompi_gnu_linux
./make_fds.sh
./fds_ompi_gnu_linux
linux-python-helloworld:
# Run Hello World test
name: linux python helloworld
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- run: |
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/Utilities/Python
source setup_python_env.sh --batchmode
- name: Python test
run: |
echo $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/Utilities/Python
source $GITHUB_WORKSPACE/.github/fds_python_env/bin/activate
python hello_world.py
: # python FDS_verification_script.py