Skip to content

Merge pull request #141 from akrherz/gh140_nawips_7_17_0 #100

Merge pull request #141 from akrherz/gh140_nawips_7_17_0

Merge pull request #141 from akrherz/gh140_nawips_7_17_0 #100

Workflow file for this run

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
. 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
strategy:
matrix:
OS_VERSION: ["7", "stream8"]
env:
OS_VERSION: ${{ matrix.OS_VERSION }}
OS_TYPE: "centos"
steps:
- uses: actions/checkout@v2
- name: build
run: |
echo 'DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -s devicemapper"' | sudo tee /etc/default/docker > /dev/null
sudo service docker restart
sleep 5
sudo docker pull quay.io/centos/${OS_TYPE}:${OS_VERSION}
build/setup.sh ${OS_TYPE} ${OS_VERSION}