Skip to content

Commit

Permalink
ci: test on GitHub Actions Linux ARM64 runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jan 19, 2025
1 parent 22a3e9d commit cde556e
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
makefile-analysis:
name: makefile-analysis
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -23,11 +23,11 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: ["ubuntu-20.04"]
runner: ["ubuntu-22.04"]
compiler: ["gcc", "clang"]
openmp: ["0", "1"]
include:
- runner: "macos-12"
- runner: "macos-13"
compiler: "clang"
openmp: "0"
env:
Expand All @@ -48,13 +48,15 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: ["ubuntu-20.04", "windows-2019"]
runner: ["ubuntu-22.04", "windows-2019"]
platform: ["x86_64", "i686"]
include:
- runner: "macos-12"
- runner: "macos-13"
platform: "x86_64"
- runner: "macos-14"
platform: "arm64"
- runner: "ubuntu-22.04-arm"
platform: "aarch64"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -81,9 +83,17 @@ jobs:
BASE64_TEST_SKIP_AVX512: "1"

alpine-makefile-test:
name: makefile-alpine-amd64-gcc
name: makefile-alpine-${{ matrix.platform }}-gcc
needs: makefile-analysis
runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
- runner: "ubuntu-24.04"
platform: "x86_64"
- runner: "ubuntu-24.04-arm"
platform: "aarch64"
container:
image: alpine:3.12
env:
Expand All @@ -97,9 +107,17 @@ jobs:
run: ./test/ci/test.sh

alpine-cmake-test:
name: cmake-alpine-amd64-gcc
name: cmake-alpine-${{ matrix.platform }}-gcc
needs: makefile-analysis
runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
- runner: "ubuntu-24.04"
platform: "x86_64"
- runner: "ubuntu-24.04-arm"
platform: "aarch64"
container:
image: alpine:3.12
steps:
Expand Down Expand Up @@ -129,7 +147,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [armv7, aarch64, s390x, ppc64le]
arch: [armv7, s390x, ppc64le]
cc: [gcc, clang]
steps:
- name: Checkout
Expand All @@ -150,7 +168,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [armv7, aarch64, s390x, ppc64le]
arch: [armv7, s390x, ppc64le]
cc: [gcc, clang]
steps:
- name: Checkout
Expand Down

0 comments on commit cde556e

Please sign in to comment.