From f6fd4c714c1e85ffb3c5f9cdd1d20f3fce5b6446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Sat, 21 Dec 2019 22:00:53 -0700 Subject: [PATCH] Test every PR and master on Linux We will implement macOS and Windows testing in other PRs. This way at least Linux testing is done. --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2340b244..fe3e47b30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,17 @@ name: CI -on: [push] +on: [push, pull_request] jobs: - build: - + Linux: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v1 - - name: Run a one-line script - run: echo Hello, world! - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - name: Install GFortran + run: sudo apt-get install gfortran + - name: cmake + run: cmake . + - name: make + run: make + - name: test + run: ctest --output-on-failure