Skip to content

Commit

Permalink
add Ubuntu CI job per Unidata#57 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Mar 5, 2022
1 parent 3411d85 commit 8cfb707
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ name: CI
on: ["push", "pull_request"]

jobs:
build_ubuntu:
name: Build Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: build
run: |
sudo apt-get update
sudo apt install gcc build-essential libx11-dev libxt-dev libxext-dev libxft-dev libxtst-dev
sudo apt install flex byacc libmotif-common libmotif-dev libxpm4 libxpm-dev
sudo apt install gfortran-8
# Create symlink to make variables work
sudo mkdir -p /home/gempak
sudo ln -s `pwd` /home/gempak/GEMPAK7
. Gemenviron.profile
rm -f config/Makeinc.linux64_gfortran
ln -s `pwd`/config/Makeinc.linux64_gfortran_ubuntu config/Makeinc.linux64_gfortran
make all
build:
name: Build Centos (${{ matrix.OS_VERSION }})
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion config/Makeinc.linux64_gfortran_ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ MOTIFLIBS = $(X11LIBDIR) -lXm

BUFRFLAGS = -O -DNO_MSG_IPC -ansi

SYSLIBS = $(PYLIB) $(PYDEP)
SYSLIBS = $(PYLIB) $(PYDEP) -ldl
CSYSLIB = $(PYLIB) $(PYDEP)

0 comments on commit 8cfb707

Please sign in to comment.