ci: more consistent images, image notes
This commit is contained in:
parent
c730eed3e6
commit
6cde1a3ff7
@ -11,6 +11,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
@ -11,6 +11,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine:latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Show platform info
|
||||
|
||||
6
.github/workflows/_binaries-linux-arm64.yml
vendored
6
.github/workflows/_binaries-linux-arm64.yml
vendored
@ -10,10 +10,12 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04-arm
|
||||
# arch: arm64
|
||||
# image: https://github.com/actions/partner-runner-images/blob/main/images/arm-ubuntu-24-image.md
|
||||
|
||||
# container: arm64v8/alpine:3.18
|
||||
# work around janky arm/alpine support
|
||||
# https://github.com/actions/runner/issues/801#issuecomment-2394425757
|
||||
container:
|
||||
# work around janky arm/alpine support, https://github.com/actions/runner/issues/801#issuecomment-2394425757
|
||||
image: arm64v8/alpine:3.18
|
||||
volumes:
|
||||
- /:/host # Jailbreak!
|
||||
|
||||
@ -12,8 +12,11 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
# arch: x64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||
container: alpine:latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check out
|
||||
|
||||
@ -12,9 +12,13 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-11-arm
|
||||
# arch: arm64
|
||||
# image: https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check out
|
||||
|
||||
5
.github/workflows/binaries-linux-x64.yml
vendored
5
.github/workflows/binaries-linux-x64.yml
vendored
@ -9,8 +9,11 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
# arch: x64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||
container: alpine:latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check out
|
||||
|
||||
8
.github/workflows/binaries-mac-arm64.yml
vendored
8
.github/workflows/binaries-mac-arm64.yml
vendored
@ -8,10 +8,14 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
# arm64
|
||||
runs-on: macos-14
|
||||
# arch: arm64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
|
||||
|
||||
env:
|
||||
ghc: 9.12.2
|
||||
stack: stack
|
||||
|
||||
steps:
|
||||
|
||||
- name: Show platform info
|
||||
@ -30,6 +34,8 @@ jobs:
|
||||
tools/checkembeddedfiles
|
||||
|
||||
# caching
|
||||
# XXX Should some of these have ghc version in the key, as in ci.yml ?
|
||||
# I think so, otherwise when ghc version changes they'll keep restoring the old data and it won't be used or updated
|
||||
|
||||
- name: Cache - stack-installed ~/.local/bin
|
||||
id: stack-programs
|
||||
|
||||
4
.github/workflows/binaries-mac-x64.yml
vendored
4
.github/workflows/binaries-mac-x64.yml
vendored
@ -8,8 +8,10 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
# x64
|
||||
runs-on: macos-13
|
||||
# arch: x64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
|
||||
|
||||
env:
|
||||
stack: stack
|
||||
steps:
|
||||
|
||||
5
.github/workflows/binaries-windows-x64.yml
vendored
5
.github/workflows/binaries-windows-x64.yml
vendored
@ -9,12 +9,17 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
# arch: x64
|
||||
# image:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
env:
|
||||
# use preinstalled ghc 9.12.2
|
||||
stack: stack --system-ghc --no-install-ghc --stack-yaml stack912.yaml
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check out
|
||||
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -46,6 +46,9 @@ on:
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-24.04
|
||||
# arch: x64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||
|
||||
env:
|
||||
# caching id for this ghc's build artifacts
|
||||
ghc: 910
|
||||
|
||||
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@ -11,6 +11,7 @@ on:
|
||||
jobs:
|
||||
publish-binaries:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
|
||||
3
.github/workflows/oldest.yml
vendored
3
.github/workflows/oldest.yml
vendored
@ -13,6 +13,9 @@ on:
|
||||
jobs:
|
||||
oldest:
|
||||
runs-on: ubuntu-24.04
|
||||
# arch: x64
|
||||
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||
|
||||
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
|
||||
|
||||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -14,6 +14,7 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
|
||||
Loading…
Reference in New Issue
Block a user