ci: more consistent images, image notes
This commit is contained in:
parent
c730eed3e6
commit
6cde1a3ff7
@ -11,6 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|||||||
@ -11,6 +11,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: alpine:latest
|
container: alpine:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Show platform info
|
- 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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-24.04-arm
|
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
|
# container: arm64v8/alpine:3.18
|
||||||
# work around janky arm/alpine support
|
|
||||||
# https://github.com/actions/runner/issues/801#issuecomment-2394425757
|
|
||||||
container:
|
container:
|
||||||
|
# work around janky arm/alpine support, https://github.com/actions/runner/issues/801#issuecomment-2394425757
|
||||||
image: arm64v8/alpine:3.18
|
image: arm64v8/alpine:3.18
|
||||||
volumes:
|
volumes:
|
||||||
- /:/host # Jailbreak!
|
- /:/host # Jailbreak!
|
||||||
|
|||||||
@ -12,8 +12,11 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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
|
container: alpine:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out
|
- name: Check out
|
||||||
|
|||||||
@ -12,9 +12,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-11-arm
|
runs-on: windows-11-arm
|
||||||
|
# arch: arm64
|
||||||
|
# image: https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out
|
- 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:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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
|
container: alpine:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out
|
- 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:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# arm64
|
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
# arch: arm64
|
||||||
|
# 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
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Show platform info
|
- name: Show platform info
|
||||||
@ -30,6 +34,8 @@ jobs:
|
|||||||
tools/checkembeddedfiles
|
tools/checkembeddedfiles
|
||||||
|
|
||||||
# caching
|
# 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
|
- name: Cache - stack-installed ~/.local/bin
|
||||||
id: stack-programs
|
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:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# x64
|
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
|
# arch: x64
|
||||||
|
# image: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
|
||||||
|
|
||||||
env:
|
env:
|
||||||
stack: stack
|
stack: stack
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
5
.github/workflows/binaries-windows-x64.yml
vendored
5
.github/workflows/binaries-windows-x64.yml
vendored
@ -9,12 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
# arch: x64
|
||||||
|
# image:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out
|
- name: Check out
|
||||||
|
|||||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -46,6 +46,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
# arch: x64
|
||||||
|
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# caching id for this ghc's build artifacts
|
# caching id for this ghc's build artifacts
|
||||||
ghc: 910
|
ghc: 910
|
||||||
|
|||||||
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
@ -11,6 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
publish-binaries:
|
publish-binaries:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
3
.github/workflows/oldest.yml
vendored
3
.github/workflows/oldest.yml
vendored
@ -13,6 +13,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
oldest:
|
oldest:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
# arch: x64
|
||||||
|
# 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.
|
# 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
|
# 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:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user