Skip to content

Commit

Permalink
gh-actions: Move some of the Linux arm64 builds from qemu to native
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jan 24, 2025
1 parent f56ef45 commit 4abda6f
Showing 1 changed file with 70 additions and 15 deletions.
85 changes: 70 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,27 +288,55 @@ jobs:
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: 11
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: 11
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
- version: 12
distro: ubuntu-24.04
arch_flags: -march=native
- version: 12
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: 12
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: 12
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
- version: 13
distro: ubuntu-24.04
arch_flags: -march=native
- version: 13
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: 13
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: 13
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
- version: 14
distro: ubuntu-24.04
arch_flags: -march=native
- version: 14
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: 14
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: 14
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
runs-on: ${{ matrix.distro }}
env:
CFLAGS: ${{ matrix.arch_flags }} -Wall -Wextra -Werror
Expand All @@ -322,6 +350,7 @@ jobs:
- name: Install APT Dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update
sudo apt-get -y install --no-install-recommends gcovr pipx ninja-build gcc-${{ matrix.version }} g++-${{ matrix.version }}
sudo apt-get -y purge g++ gcc
Expand Down Expand Up @@ -349,11 +378,6 @@ jobs:
fail-fast: false
matrix:
include:
- version: 11
cross: aarch64
arch_gnu: aarch64
arch_deb: arm64
distro: ubuntu-22.04
- version: 14
cross: armel
arch_gnu_abi: eabi
Expand All @@ -372,11 +396,6 @@ jobs:
arch_gnu: aarch64
arch_deb: arm64
distro: ubuntu-24.04
- version: 14
cross: aarch64
arch_gnu: aarch64
arch_deb: arm64
distro: ubuntu-24.04
- extra: -32bit
version: 14
cross: armv8
Expand Down Expand Up @@ -554,11 +573,6 @@ jobs:
arch_gnu_abi: eabihf
arch_gnu: arm
distro: ubuntu-24.04
- version: 18
cross: aarch64
arch_gnu: aarch64
arch_deb: arm64
distro: ubuntu-24.04
- version: 18
extra: -no-extras
cross: aarch64
Expand Down Expand Up @@ -666,20 +680,41 @@ jobs:
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: "14"
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: "14"
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
- version: "15"
distro: ubuntu-24.04
arch_flags: -march=native
- version: "15"
distro: ubuntu-24.04
arch_flags: -ffast-math
ccache: 'true'
- version: "15"
distro: ubuntu-24.04-arm
arch_flags: -march=native
- version: "15"
distro: ubuntu-24.04-arm
arch_flags: -ffast-math
ccache: 'true'
- version: "16"
distro: ubuntu-24.04
arch_flags: -march=native -Wno-unsafe-buffer-usage
- version: "16"
distro: ubuntu-24.04
arch_flags: -ffast-math -Wno-unsafe-buffer-usage
ccache: 'true'
- version: "16"
distro: ubuntu-24.04-arm
arch_flags: -march=native -Wno-unsafe-buffer-usage
- version: "16"
distro: ubuntu-24.04-arm
arch_flags: -ffast-math -Wno-unsafe-buffer-usage
ccache: 'true'
- version: "17"
distro: ubuntu-24.04
arch_flags: -march=native -Wno-unsafe-buffer-usage
Expand All @@ -690,6 +725,16 @@ jobs:
- version: "17"
distro: ubuntu-24.04
arch_flags: -march=native -Wno-unsafe-buffer-usage -O2
- version: "17"
distro: ubuntu-24.04-arm
arch_flags: -march=native -Wno-unsafe-buffer-usage
- version: "17"
distro: ubuntu-24.04-arm
arch_flags: -ffast-math -Wno-unsafe-buffer-usage
ccache: 'true'
- version: "17"
distro: ubuntu-24.04-arm
arch_flags: -march=native -Wno-unsafe-buffer-usage -O2
- version: "18"
distro: ubuntu-24.04
arch_flags: -march=native -Wno-unsafe-buffer-usage -Wno-switch-default
Expand All @@ -700,6 +745,16 @@ jobs:
- version: "18"
distro: ubuntu-24.04
arch_flags: -march=native -Wno-unsafe-buffer-usage -Wno-switch-default -O2
- version: "18"
distro: ubuntu-24.04-arm
arch_flags: -march=native -Wno-unsafe-buffer-usage -Wno-switch-default
- version: "18"
distro: ubuntu-24.04-arm
arch_flags: -ffast-math -Wno-unsafe-buffer-usage -Wno-switch-default -Wno-nan-infinity-disabled
ccache: 'true'
- version: "18"
distro: ubuntu-24.04-arm
arch_flags: -march=native -Wno-unsafe-buffer-usage -Wno-switch-default -O2
runs-on: ${{ matrix.distro }}
env:
CFLAGS: ${{ matrix.arch_flags }} -Wall -Weverything -Werror -fno-lax-vector-conversions
Expand Down

0 comments on commit 4abda6f

Please sign in to comment.