mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
trying another approach
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user