diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2020-11-18 23:10:54 +0100 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2020-11-18 23:10:54 +0100 |
| commit | 6ee7c88f342a03690dabf596ae1ecdc8df7da851 (patch) | |
| tree | 1546319635b87d7e459b6bdc6049f1b31a076002 /.github | |
| parent | 08af1356530de0d7d8dbcf095aab99911f5113ca (diff) | |
Add first attempt at Windows build
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-windows-package.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/build-windows-package.yml b/.github/workflows/build-windows-package.yml new file mode 100644 index 000000000..994d377ca --- /dev/null +++ b/.github/workflows/build-windows-package.yml @@ -0,0 +1,43 @@ +name: Build Windows Package + +on: + push: + workflow_dispatch: + +jobs: + build: + name: Build on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-2019] + ghc: ["8.6.5"] + cabal: ["2.4"] + + steps: + - uses: actions/checkout@v2 + + - 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: | + # brew install \ + # automake \ + # openjdk + # cabal v1-install alex happy + + - name: Build GF package + run: | + cabal build + + # - name: Upload artifact + # uses: actions/upload-artifact@v2 + # with: + # name: macOS package + # path: dist/gf-*.pkg + # if-no-files-found: error |
