diff options
| author | Vollstrecker <werner@vollstreckernet.de> | 2025-12-25 12:15:09 +0100 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-27 18:08:54 -0800 |
| commit | c5c3b0bff2e1c3f02d48e52bb17f6c892e9bfcb0 (patch) | |
| tree | 294a0e3499d4a7f4dd2b802b31979849ebc961ae | |
| parent | 47f1ae8cb52b3edc186c066c1d53cb8d8aeec5e3 (diff) | |
| download | zlib-c5c3b0bff2e1c3f02d48e52bb17f6c892e9bfcb0.tar.gz zlib-c5c3b0bff2e1c3f02d48e52bb17f6c892e9bfcb0.tar.bz2 zlib-c5c3b0bff2e1c3f02d48e52bb17f6c892e9bfcb0.zip | |
Check multiple architectures in *BSD workflows.
| -rw-r--r-- | .github/workflows/others.yml | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/.github/workflows/others.yml b/.github/workflows/others.yml index b5a92be7..8ca279e8 100644 --- a/.github/workflows/others.yml +++ b/.github/workflows/others.yml | |||
| @@ -23,13 +23,21 @@ jobs: | |||
| 23 | 23 | ||
| 24 | freebsd: | 24 | freebsd: |
| 25 | runs-on: ubuntu-latest | 25 | runs-on: ubuntu-latest |
| 26 | name: FreeBSD | 26 | name: FreeBSD - ${{ matrix.name }} |
| 27 | strategy: | ||
| 28 | fail-fast: false | ||
| 29 | matrix: | ||
| 30 | include: | ||
| 31 | - name: aarch64 | ||
| 32 | - name: x86_64 | ||
| 27 | steps: | 33 | steps: |
| 28 | - uses: actions/checkout@v4 | 34 | - uses: actions/checkout@v4 |
| 29 | - name: FreeBSD | 35 | - name: FreeBSD - ${{ matrix.name }} |
| 30 | uses: vmactions/freebsd-vm@v1 | 36 | uses: vmactions/freebsd-vm@v1 |
| 31 | with: | 37 | with: |
| 38 | arch: ${{ matrix.name }} | ||
| 32 | copyback: false | 39 | copyback: false |
| 40 | release: "15.0" | ||
| 33 | prepare: | | 41 | prepare: | |
| 34 | pkg install -y cmake gcc14 bzip2 | 42 | pkg install -y cmake gcc14 bzip2 |
| 35 | 43 | ||
| @@ -40,10 +48,16 @@ jobs: | |||
| 40 | 48 | ||
| 41 | netbsd: | 49 | netbsd: |
| 42 | runs-on: ubuntu-latest | 50 | runs-on: ubuntu-latest |
| 43 | name: NetBSD | 51 | name: NetBSD - ${{ matrix.name }} |
| 52 | strategy: | ||
| 53 | fail-fast: false | ||
| 54 | matrix: | ||
| 55 | include: | ||
| 56 | - name: aarch64 | ||
| 57 | - name: x86_64 | ||
| 44 | steps: | 58 | steps: |
| 45 | - uses: actions/checkout@v4 | 59 | - uses: actions/checkout@v4 |
| 46 | - name: NetBSD | 60 | - name: NetBSD - ${{ matrix.name }} |
| 47 | uses: vmactions/netbsd-vm@v1 | 61 | uses: vmactions/netbsd-vm@v1 |
| 48 | with: | 62 | with: |
| 49 | copyback: false | 63 | copyback: false |
| @@ -79,16 +93,24 @@ jobs: | |||
| 79 | 93 | ||
| 80 | openbsd: | 94 | openbsd: |
| 81 | runs-on: ubuntu-latest | 95 | runs-on: ubuntu-latest |
| 82 | name: OpenBSD | 96 | name: OpenBSD - ${{ matrix.name }} |
| 97 | strategy: | ||
| 98 | fail-fast: false | ||
| 99 | matrix: | ||
| 100 | include: | ||
| 101 | - name: aarch64 | ||
| 102 | - name: x86_64 | ||
| 103 | - name: riscv64 | ||
| 83 | steps: | 104 | steps: |
| 84 | - uses: actions/checkout@v4 | 105 | - uses: actions/checkout@v4 |
| 85 | - name: OpenBSD | 106 | - name: OpenBSD - ${{ matrix.name }} |
| 86 | uses: vmactions/openbsd-vm@v1 | 107 | uses: vmactions/openbsd-vm@v1 |
| 87 | with: | 108 | with: |
| 109 | arch: ${{ matrix.name }} | ||
| 88 | copyback: false | 110 | copyback: false |
| 89 | prepare: | | 111 | prepare: | |
| 90 | export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" | 112 | export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" |
| 91 | export PKG_PATH="https://cdn.openbsd.org/pub/OpenBSD/$(uname -r|cut -f '1 2' -d.)/packages/amd64/" | 113 | export PKG_PATH="https://cdn.openbsd.org/pub/OpenBSD/$(uname -r|cut -f '1 2' -d.)/packages/$(uname -m)/" |
| 92 | /usr/sbin/pkg_add cmake | 114 | /usr/sbin/pkg_add cmake |
| 93 | /usr/sbin/pkg_add bzip2 | 115 | /usr/sbin/pkg_add bzip2 |
| 94 | 116 | ||
