Skip to content

chore: add a Windows build #4

chore: add a Windows build

chore: add a Windows build #4

Workflow file for this run

name: Build for Windows
on:
push:
branches:
- "build-windows"
pull_request:
branches:
- "master"
# workflow_dispatch
jobs:
build_sdist:
name: Build executable
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install GLPK
run: choco install glpk
- name: Setup Haskell environment
uses: haskell-actions/[email protected]
with:
ghc-version: '9.4.7'
cabal-version: '3.10.1.0'
enable-stack: true
stack-version: '2.13.1'
- name: Build
run: stack build --ghc-options="-IC:\ProgramData\chocolatey\lib\glpk\tools -LC:\ProgramData\chocolatey\lib\glpk\tools"