ci: more consistent images, image notes

This commit is contained in:
Simon Michael 2025-06-13 20:41:43 -10:00
parent c730eed3e6
commit 6cde1a3ff7
13 changed files with 41 additions and 6 deletions

View File

@ -11,6 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

View File

@ -11,6 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest
container: alpine:latest
steps:
- name: Show platform info

View File

@ -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!

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -11,6 +11,7 @@ on:
jobs:
publish-binaries:
runs-on: ubuntu-latest
steps:
- name: Checkout repository

View File

@ -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

View File

@ -14,6 +14,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository