Skip to content

Commit

Permalink
Try multiarch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
arcivanov committed Sep 10, 2024
1 parent f1917ce commit 7177e6c
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions build.yml.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7364c19..905ddc7 100644
index 7364c19..319e734 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,19 +9,7 @@ on:
@@ -9,19 +9,9 @@ on:
required: false
default: true
push:
Expand All @@ -13,7 +13,8 @@ index 7364c19..905ddc7 100644
- - "docker/**"
- - "tests/**"
- - "*.sh"
- pull_request:
+ branches: [master]
pull_request:
- paths:
- - ".github/workflows/build.yml"
- - "docker/**"
Expand All @@ -23,7 +24,7 @@ index 7364c19..905ddc7 100644

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -33,6 +21,9 @@ jobs:
@@ -33,14 +23,19 @@ jobs:
runs-on: ubuntu-22.04
permissions:
actions: write # this permission is needed to delete cache
Expand All @@ -33,7 +34,18 @@ index 7364c19..905ddc7 100644
strategy:
fail-fast: false
matrix:
@@ -52,6 +43,12 @@ jobs:
policy: ["manylinux2014", "musllinux_1_1", "musllinux_1_2"]
- platform: ["i686", "x86_64"]
+ platform: ["i686", "x86_64", "aarch64", "ppc64le", "s390x"]
include:
- policy: "manylinux_2_28"
platform: "x86_64"
+ - policy: "manylinux_2_28"
+ platform: "aarch64"

env:
POLICY: ${{ matrix.policy }}
@@ -52,6 +47,12 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 50
Expand All @@ -46,7 +58,7 @@ index 7364c19..905ddc7 100644

- name: Set up emulation
if: matrix.platform != 'i686' && matrix.platform != 'x86_64'
@@ -66,33 +63,38 @@ jobs:
@@ -66,33 +67,38 @@ jobs:
if: github.event_name != 'workflow_dispatch' || fromJSON(github.event.inputs.useCache)
uses: actions/cache/restore@v4
with:
Expand Down

0 comments on commit 7177e6c

Please sign in to comment.