diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2020-11-30 23:05:43 +0100 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2020-11-30 23:05:43 +0100 |
| commit | d6be4ec3b0a77782b8287e0801d6ba60e8968c6f (patch) | |
| tree | 6c90bd9c1ed63318979496088de69f7249ee1045 /.github | |
| parent | 68ec61f44d8479f3ed50e713badb9465c11606e9 (diff) | |
Add note about why we're not using Setup Haskell action for Ubuntu build.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-binary-packages.yml | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/.github/workflows/build-binary-packages.yml b/.github/workflows/build-binary-packages.yml index e33022e6e..810fa1352 100644 --- a/.github/workflows/build-binary-packages.yml +++ b/.github/workflows/build-binary-packages.yml @@ -11,16 +11,28 @@ jobs: ubuntu: name: Build Ubuntu package runs-on: ubuntu-18.04 - # env: - # LC_ALL: C.UTF-8 + # strategy: + # matrix: + # ghc: ["8.6.5"] + # cabal: ["2.4"] steps: - uses: actions/checkout@v2 + # Note: `haskell-platform` is listed as requirement in debian/control, + # which is why it's installed using apt instead of the Setup Haskell action. + + # - name: Setup Haskell + # uses: actions/setup-haskell@v1 + # id: setup-haskell-cabal + # with: + # ghc-version: ${{ matrix.ghc }} + # cabal-version: ${{ matrix.cabal }} + - name: Install build tools run: | - sudo apt update - sudo apt install -y \ + sudo apt-get update + sudo apt-get install -y \ make \ dpkg-dev \ debhelper \ @@ -30,7 +42,7 @@ jobs: default-jdk \ libtool-bin - - name: Build Debian package + - name: Build package run: | make deb @@ -71,7 +83,7 @@ jobs: automake cabal v1-install alex happy - - name: Build macOS package + - name: Build package run: | sudo mkdir -p /Library/Java/Home sudo ln -s /usr/local/opt/openjdk/include /Library/Java/Home/include |
