Skip to content

Commit

Permalink
packaging: remove arm64 cross-compilation (iopsystems#182)
Browse files Browse the repository at this point in the history
Cross-compiling to arm64 fails due to some errors while linking
boring-ssl, which also ends up preventing the x86 packages from being
built and uploaded. Disable cross-compiling for now. Also remove
unsupported Ubuntu versions.
  • Loading branch information
mihirn authored Mar 26, 2024
1 parent 89d087f commit da55f0b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
strategy:
matrix:
include:
- { distro: debian, release: buster }
- { distro: debian, release: bullseye }
- { distro: debian, release: bookworm }
- { distro: debian, release: buster } # LTS until July 2024
- { distro: debian, release: bullseye } # LTS until July 2026
- { distro: debian, release: bookworm } # LTS until July 2028

# trusty and xenial are too old to properly support cross compiling
# (or a compiler that supports C++17).
# - { distro: ubuntu, release: trusty } # LTS until Apr 2024
# - { distro: ubuntu, release: xenial } # LTS until Apr 2026
- { distro: ubuntu, release: bionic } # LTS until Apr 2028
# - { distro: ubuntu, release: bionic } # LTS until Apr 2028
- { distro: ubuntu, release: focal } # LTS until Apr 2030
- { distro: ubuntu, release: jammy } # LTS until Apr 2032
- { distro: ubuntu, release: lunar } # Previous release
# - { distro: ubuntu, release: lunar } # Previous release
- { distro: ubuntu, release: mantic } # Current release
fail-fast: false
env:
Expand Down Expand Up @@ -137,10 +137,11 @@ jobs:
shell: bash
run: ./debian/gen-changelog.sh > debian/changelog

- name: install arm64 build dependencies
run: apt-get build-dep -y -a arm64 ../rpc-perf*.dsc
- name: build arm64 package
run: dpkg-buildpackage -b -us -uc --host-arch arm64
# Cross-compiling for arm64 fails with boring-ssl errors; disable for now.
# - name: install arm64 build dependencies
# run: apt-get build-dep -y -a arm64 ../rpc-perf*.dsc
# - name: build arm64 package
# run: dpkg-buildpackage -b -us -uc --host-arch arm64

- name: install x86_64 build dependencies
run: apt-get build-dep -y -a amd64 ../rpc-perf*.dsc
Expand Down

0 comments on commit da55f0b

Please sign in to comment.