From 48fa373dc0cd0aa9f0f49911492edb9f49c59093 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Fri, 24 Feb 2023 08:09:26 +0100 Subject: [PATCH] try building the compiler --- .github/workflows/build-majestic.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index b61bfcf89..aa34e7165 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -52,11 +52,24 @@ jobs: with: ghc-version: 8 - - name: run testsuite + - name: build and test the runtime working-directory: ./src/runtime/haskell run: | + cabal install --extra-lib-dirs=/usr/local/lib cabal test --extra-lib-dirs=/usr/local/lib + - name: build the compiler + working-directory: ./src/compiler + run: | + cabal install + + - name: Upload artifact + uses: actions/upload-artifact@master + with: + name: compiler-linux + path: | + /usr/local/bin/gf + linux-python: name: Python (Linux) runs-on: ubuntu-20.04