Skip to content

Commit

Permalink
Switch testing from travis to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
drsteve committed Jul 21, 2022
1 parent 8920333 commit b024da6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/lgm-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: lgm-ci
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
basic-suite:
runs-on: ubuntu-20.04
steps:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y make gcc g++ autotools-dev autoconf
sudo apt-get install -y libgsl-dev libgsl23 gsl-bin libgsl-dbg
sudo apt-get install -y libhdf5-dev libperl-dev
gcc --version
gsl-config --version
- name: Checkout
uses: actions/checkout@v2
- name: compile_test
run: |
autoreconf -i
./configure
make
- name: unit_tests
run: |
make check
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit b024da6

Please sign in to comment.