From 15facb62fe08b3c8699b9e28ba4e918b8657d6ab Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Thu, 16 Jan 2025 20:14:36 -0500 Subject: [PATCH] skip ubuntu-latest, aarch64 builds for now, add in stable draft release --- .github/workflows/release.yml | 66 +++++++++++++++++------------------ 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49e2ae1dfe..c2cba90d9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,10 @@ jobs: target-suffix: unknown-linux-gnu - os: macos-latest target-suffix: apple-darwin + # TODO: Remove when we can fix this. Skip ARM64 builds on Ubuntu for now + exclude: + - os: ubuntu-latest + architecture: aarch64 steps: - name: Checkout @@ -59,27 +63,19 @@ jobs: libdbus-1-dev \ libxcb1-dev - # --- AARCH64 only --- - - name: Install system libraries on Ubuntu (aarch64) - if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'aarch64' - run: | - sudo dpkg --add-architecture arm64 - sudo apt-get update - sudo apt-get install -y \ - gcc-aarch64-linux-gnu \ - libc6-dev-arm64-cross \ - libssl-dev:arm64 \ - libdbus-1-dev:arm64 \ - libxcb1-dev:arm64 \ - pkg-config-aarch64-linux-gnu - - - name: Configure environment for cross-compilation (aarch64) - if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'aarch64' - run: | - echo "PKG_CONFIG=aarch64-linux-gnu-pkg-config" >> $GITHUB_ENV - echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV - echo "PKG_CONFIG_PATH=/usr/aarch64-linux-gnu/lib/pkgconfig" >> $GITHUB_ENV - echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu" >> $GITHUB_ENV + # # --- AARCH64 only --- + # - name: Install system libraries on Ubuntu (aarch64) + # if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'aarch64' + # run: | + # sudo dpkg --add-architecture arm64 + # sudo apt-get update + # sudo apt-get install -y \ + # gcc-aarch64-linux-gnu \ + # libc6-dev-arm64-cross \ + # libssl-dev:arm64 \ + # libdbus-1-dev:arm64 \ + # libxcb1-dev:arm64 \ + # pkg-config - name: Build CLI run: | @@ -258,19 +254,21 @@ jobs: prerelease: true # TODO: remove after testing draft: true # TODO: remove after testing - # # Create/update the stable release - # - name: Release stable - # uses: ncipollo/release-action@v1 - # with: - # tag: stable - # name: Stable - # token: ${{ secrets.GITHUB_TOKEN }} - # artifacts: | - # goose-*.tar.bz2 - # Goose*.zip - # allowUpdates: true - # omitBody: true - # omitPrereleaseDuringUpdate: true + # Create/update the stable release + - name: Release stable + uses: ncipollo/release-action@v1 + with: + tag: stable + name: Stable + token: ${{ secrets.GITHUB_TOKEN }} + artifacts: | + goose-*.tar.bz2 + Goose*.zip + allowUpdates: true + omitBody: true + omitPrereleaseDuringUpdate: true + prerelease: true # TODO: remove after testing + draft: true # TODO: remove after testing # ------------------------------------ # 4) PR Comment with Desktop Link