diff --git a/.github/workflows/lgm-ci.yml b/.github/workflows/lgm-ci.yml new file mode 100644 index 000000000..342b8a723 --- /dev/null +++ b/.github/workflows/lgm-ci.yml @@ -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 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b9679993d..000000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -matrix: - include: - - os: linux - dist: trusty - - os: linux - dist: xenial - -language: c - -compiler: gcc - -before_install: - - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157 - - sudo apt-get update -qq - - sudo apt-get install -qq libperl-dev libgsl0-dev libhdf5-serial-dev - -script: - - autoreconf -i - - ./configure - - make check