mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 22:42:52 -06:00
Install Haskell via setup-haskell action, install build tools for C runtime
This commit is contained in:
30
.github/workflows/build-macos-package.yml
vendored
30
.github/workflows/build-macos-package.yml
vendored
@@ -7,20 +7,38 @@ jobs:
|
|||||||
name: Build on ${{ matrix.os }}
|
name: Build on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest]
|
os: [macOS-latest]
|
||||||
# env:
|
cabal: ["3.2"]
|
||||||
# LC_ALL: C.UTF-8
|
ghc: ["8.6.5"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- uses: actions/setup-haskell@v1.1.1
|
||||||
|
id: setup-haskell-cabal
|
||||||
|
name: Setup Haskell
|
||||||
|
with:
|
||||||
|
ghc-version: ${{ matrix.ghc }}
|
||||||
|
cabal-version: ${{ matrix.cabal }}
|
||||||
|
|
||||||
|
- name: Freeze
|
||||||
|
run: |
|
||||||
|
cabal freeze
|
||||||
|
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
name: Cache ~/.cabal/store
|
||||||
|
with:
|
||||||
|
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
|
||||||
|
key: ${{ runner.os }}-${{ matrix.ghc }}
|
||||||
|
# key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
|
||||||
|
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: |
|
run: |
|
||||||
brew install \
|
brew install \
|
||||||
ghc \
|
automake \
|
||||||
cabal-install
|
autoconf \
|
||||||
|
libtool
|
||||||
|
|
||||||
- name: Checkout RGL
|
- name: Checkout RGL
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user