Skip to content

Commit

Permalink
ci: test workflows on new arm runners
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Jan 17, 2025
1 parent ce27425 commit 8e8c182
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ concurrency:
jobs:
static:
name: Nix - Linux static
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Nix Environment
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Save built executable as artifact
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: postgrest-linux-static-x64
name: postgrest-linux-static-aarch64
path: result/bin/postgrest
if-no-files-found: error

Expand All @@ -53,7 +53,7 @@ jobs:
- name: Save built Docker image as artifact
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: postgrest-docker-x64
name: postgrest-docker-aarch64
path: postgrest-docker.tar.gz
if-no-files-found: error

Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
matrix:
include:
- name: Linux
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-arm
cache: |
~/.stack/pantry
~/.stack/snapshots
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
ghc: ['9.6.6', '9.8.2']
fail-fast: false
name: Cabal - Linux GHC ${{ matrix.ghc }}
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: haskell-actions/setup@f5975f0810e252c045abd64a590c955a63f848db # v2.7.8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
lint-style:
name: Lint & Style
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Nix Environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Nix Environment
Expand All @@ -39,7 +39,7 @@ jobs:

spellcheck:
name: Spellcheck
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Nix Environment
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:
jobs:
coverage:
name: Coverage
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
defaults:
run:
# Hack for enabling color output, see:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
matrix:
pgVersion: [12, 13, 14, 15, 16, 17]
name: PG ${{ matrix.pgVersion }}
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
defaults:
run:
# Hack for enabling color output, see:
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

memory:
name: Memory
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Nix Environment
Expand All @@ -112,7 +112,7 @@ jobs:

loadtest:
name: Loadtest
runs-on: ubuntu-24.04
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand Down

0 comments on commit 8e8c182

Please sign in to comment.