Mise à jour des workflows de release pour les nouvelles versions d'OS

Mise à jour du workflow de release pour utiliser ubuntu-24.04-arm au lieu de ubuntu-latest pour ARM64, et macos-15-intel au lieu de macos-latest pour macOS. Suppression de la compilation croisée pour ARM64 et ajustement de l'installation des outils de build pour macOS.
This commit is contained in:
Eric Coissac
2026-02-06 09:34:30 +01:00
parent fbf816d219
commit 250d616129

View File

@@ -32,12 +32,11 @@ jobs:
goos: linux goos: linux
goarch: amd64 goarch: amd64
output_name: linux_amd64 output_name: linux_amd64
- os: ubuntu-latest - os: ubuntu-24.04-arm
goos: linux goos: linux
goarch: arm64 goarch: arm64
output_name: linux_arm64 output_name: linux_arm64
cross_compile: true - os: macos-15-intel
- os: macos-latest
goos: darwin goos: darwin
goarch: amd64 goarch: amd64
output_name: darwin_amd64 output_name: darwin_amd64
@@ -63,17 +62,17 @@ jobs:
TAG=${GITHUB_REF#refs/tags/Release_} TAG=${GITHUB_REF#refs/tags/Release_}
echo "version=$TAG" >> $GITHUB_OUTPUT echo "version=$TAG" >> $GITHUB_OUTPUT
- name: Install cross-compilation tools (Linux ARM64 only) - name: Install build tools (macOS)
if: matrix.cross_compile if: runner.os == 'macOS'
run: | run: |
sudo apt-get update # Ensure Xcode Command Line Tools are installed
sudo apt-get install -y gcc-aarch64-linux-gnu xcode-select --install 2>/dev/null || true
xcode-select -p
- name: Build binaries - name: Build binaries
env: env:
GOOS: ${{ matrix.goos }} GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }} GOARCH: ${{ matrix.goarch }}
CC: ${{ matrix.cross_compile && 'aarch64-linux-gnu-gcc' || '' }}
VERSION: ${{ steps.get_version.outputs.version }} VERSION: ${{ steps.get_version.outputs.version }}
run: | run: |
make obitools make obitools