diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..c6334c7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + ghc: ['8.10', '8.8', '8.6'] + steps: + - name: Checkout repository + uses: actions/checkout@v2.3.1 + - name: Setup haskell + uses: actions/setup-haskell@v1.1.1 + with: + ghc-version: ${{ matrix.ghc }} + - name: Build euphoria + run: cabal v2-build + - name: Test euphoria + run: cabal v2-test