Skip to content

Fix places where the new gases were neglected #22

Fix places where the new gases were neglected

Fix places where the new gases were neglected #22

Workflow file for this run

name: Compile SOCRATES
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
install:
runs-on: ubuntu-latest
name: Install and build
steps:
- uses: actions/checkout@v4
- name: NetCDF
run: |
sudo apt update
sudo apt-get install libnetcdff-dev netcdf-bin gfortran gcc
- name: Build
run: |
export LD_LIBRARY_PATH=""
./configure
./build_code
source set_rad_env
- name: Zip
run: |
zip -r socrates-${{ runner.os }} .
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: socrates-${{ runner.os }}.zip
path: socrates-${{ runner.os }}.zip
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: socrates-${{ runner.os }}.zip
body_path: version