Skip to content

Baselibs 8.9.0

Baselibs 8.9.0 #149

Workflow file for this run

name: Build Baselibs
on:
release:
types:
- published
workflow_dispatch:
jobs:
build_baselibs:
runs-on: ubuntu-latest
container:
image: gmao/ubuntu20-openmpi:5.0.2-gcc_13.2.0
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
env:
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_btl_vader_single_copy_mechanism: none
FC: gfortran
CC: gcc
CXX: g++
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set all directories as git safe
run: |
git config --global --add safe.directory '*'
- name: Versions etc.
run: |
gcc --version
gfortran --version
mpirun --version
mpicc --show
mpic++ --show
mpifort --show
echo $BASEDIR
git submodule status
- name: Verify Before
run: |
make verify ESMF_COMM=openmpi ESMF_COMPILER=gfortran
- name: Build
run: |
make -j4 install ESMF_COMM=openmpi ESMF_PYTHON=/usr/bin/python3 ESMF_COMPILER=gfortran
- name: Verify After
run: |
make verify ESMF_COMM=openmpi ESMF_COMPILER=gfortran
- name: Check directory structure
run: |
ls ../x86_64-pc-linux-gnu/gfortran/Linux/*