Skip to content

Commit

Permalink
Merge pull request #50 from rem1776/switch_ci
Browse files Browse the repository at this point in the history
Switch CI to github actions
  • Loading branch information
thomas-robinson authored Feb 18, 2021
2 parents 7e7212c + 373814b commit b28cedf
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: FMScoupler build test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
container:
image: underwoo/ubuntu_libfms_gnu
env:
CC: mpicc
FC: mpif90
CPPFLAGS: '-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500'
FCFLAGS: '-fcray-pointer -fdefault-double-8 -fdefault-real-8 -Waliasing -ffree-line-length-none -fno-range-check'
LDFLAGS: '-L/usr/lib'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run build test
run: t/null_model_build.sh
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: FMScoupler linter

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run linter
uses: NOAA-GFDL/simple_lint@v2
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

0 comments on commit b28cedf

Please sign in to comment.