ci: more consistent ghc version env var
This commit is contained in:
parent
6cde1a3ff7
commit
ccb0033e31
4
.github/workflows/binaries-linux-x64.yml
vendored
4
.github/workflows/binaries-linux-x64.yml
vendored
@ -14,6 +14,10 @@ jobs:
|
|||||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||||
container: alpine:latest
|
container: alpine:latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
stack: stack
|
||||||
|
ghc: 9.10.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out
|
- name: Check out
|
||||||
|
|||||||
3
.github/workflows/binaries-mac-arm64.yml
vendored
3
.github/workflows/binaries-mac-arm64.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ binaries-mac-arm64, binaries ]
|
branches: [ binaries-mac-arm64, binaries ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
@ -13,8 +14,8 @@ jobs:
|
|||||||
# image: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
|
# image: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ghc: 9.12.2
|
|
||||||
stack: stack
|
stack: stack
|
||||||
|
ghc: 9.10.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|||||||
3
.github/workflows/binaries-mac-x64.yml
vendored
3
.github/workflows/binaries-mac-x64.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ binaries-mac-x64, binaries ]
|
branches: [ binaries-mac-x64, binaries ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
@ -14,6 +15,8 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
stack: stack
|
stack: stack
|
||||||
|
ghc: 9.10.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Show platform info
|
- name: Show platform info
|
||||||
|
|||||||
2
.github/workflows/binaries-windows-x64.yml
vendored
2
.github/workflows/binaries-windows-x64.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [ binaries-windows-x64, binaries ]
|
branches: [ binaries-windows-x64, binaries ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
@ -19,6 +20,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
# use preinstalled ghc 9.12.2
|
# use preinstalled ghc 9.12.2
|
||||||
stack: stack --system-ghc --no-install-ghc --stack-yaml stack912.yaml
|
stack: stack --system-ghc --no-install-ghc --stack-yaml stack912.yaml
|
||||||
|
ghc: 9.12.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -50,11 +50,8 @@ jobs:
|
|||||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# caching id for this ghc's build artifacts
|
|
||||||
ghc: 910
|
|
||||||
|
|
||||||
# select the right stack yaml for this ghc
|
|
||||||
stack: stack
|
stack: stack
|
||||||
|
ghc: 9.10.1
|
||||||
|
|
||||||
# flag for skipping later steps, declared here to prevent "Context access might be invalid" warnings
|
# flag for skipping later steps, declared here to prevent "Context access might be invalid" warnings
|
||||||
do-all:
|
do-all:
|
||||||
|
|||||||
8
.github/workflows/oldest.yml
vendored
8
.github/workflows/oldest.yml
vendored
@ -17,14 +17,8 @@ jobs:
|
|||||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# This workflow uses github's preinstalled ghc & stack on ubuntu.
|
|
||||||
# Keep these synced with the latest ghc version at https://github.com/actions/runner-images/blob/ubuntu22/20240514.2/images/ubuntu/Ubuntu2404-Readme.md#haskell-tools
|
|
||||||
#
|
|
||||||
# caching id for this ghc's build artifacts:
|
|
||||||
# XXX supposed to be interpolated by $ghc below, but this is not working
|
|
||||||
ghc: 8107
|
|
||||||
# stack config for this ghc:
|
|
||||||
stack: stack --stack-yaml=stack810.yaml
|
stack: stack --stack-yaml=stack810.yaml
|
||||||
|
ghc: 8.10.7
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user