trying another approach

This commit is contained in:
Mic Neale
2024-12-18 15:35:39 +11:00
parent 3005fe9935
commit bb58aa7c7f
+4 -4
View File
@@ -13,10 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-latest]
os: [ubuntu-latest, macos-latest]
architecture: [x86_64, aarch64]
include:
- os: ubuntu-22.04
- os: ubuntu-latest
suffix: unknown-linux-gnu
- os: macos-latest
suffix: apple-darwin
@@ -27,12 +27,12 @@ jobs:
with:
target: ${{ matrix.architecture }}-${{ matrix.suffix }}
- name: Install cross-compilation tools and dependencies
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
run: |
if [ "${{ matrix.architecture }}" = "aarch64" ]; then
sudo dpkg --add-architecture arm64
fi
sudo apt-get update
sudo apt update
sudo apt-get install -y pkg-config libssl-dev
if [ "${{ matrix.architecture }}" = "aarch64" ]; then
sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev:arm64 libc6-dev-arm64-cross