Skip to content

Commit 974bc99

Browse files
committed
Run bootstrap on cygwin
1 parent c95d143 commit 974bc99

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/bootstrap.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,27 @@ jobs:
5757
Write-Host "Current Working Directory: $curDir"
5858
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; try { & ([ScriptBlock]::Create((Invoke-WebRequest https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/scripts/bootstrap/bootstrap-haskell.ps1 -UseBasicParsing))) -InstallDir ${GITHUB_WORKSPACE} -BootstrapUrl ("{0}/scripts/bootstrap/bootstrap-haskell" -f $curDir) -InBash -Msys2Env "MINGW64" } catch { Write-Error $_ }
5959
shell: pwsh
60+
61+
bootstrap-windows-cygwin:
62+
name: bootstrap-windows-cygwin
63+
runs-on: windows-latest
64+
env:
65+
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.12.1.0
66+
BOOTSTRAP_HASKELL_GHC_VERSION: 9.6.7
67+
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
68+
ARCH: 64
69+
JSON_VERSION: "0.0.7"
70+
steps:
71+
- run: git config --global core.autocrlf input
72+
- name: Checkout code
73+
uses: actions/checkout@v3
74+
with:
75+
submodules: 'true'
76+
77+
- name: Install cygwin
78+
uses: cygwin/cygwin-install-action@master
79+
with:
80+
install-dir: 'c:\cygwin64'
81+
82+
- name: Run bootstrap
83+
run: sh ./.github/scripts/bootstrap.sh

0 commit comments

Comments
 (0)