Skip to content

Commit

Permalink
skip ubuntu-latest, aarch64 builds for now, add in stable draft release
Browse files Browse the repository at this point in the history
  • Loading branch information
salman1993 committed Jan 17, 2025
1 parent c086a51 commit 15facb6
Showing 1 changed file with 32 additions and 34 deletions.
66 changes: 32 additions & 34 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 15facb6

Please sign in to comment.