trying this

This commit is contained in:
Mic Neale
2024-12-18 19:29:54 +11:00
parent 8be285f273
commit 85f7011fc3
+3 -8
View File
@@ -36,7 +36,7 @@ jobs:
sudo apt install -y libdbus-1-dev libssl-dev gnome-keyring libxcb1-dev
gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
# Build the project with conditional openssl/vendored
# Build the project
- id: build
name: Build the project
shell: bash
@@ -44,13 +44,8 @@ jobs:
export CROSS_NO_WARNINGS=0
export TARGET=${{ matrix.arch }}-${{ matrix.target-suffix }}
rustup target add "${TARGET}"
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
# Enable vendored OpenSSL for Linux
cross build --release --target ${TARGET} --no-default-features --features openssl/vendored
else
cross build --release --target ${TARGET}
fi
cross build --release --target ${TARGET}
export TARGET_PATH=target/${TARGET}/release/goose-${TARGET}
mv target/${TARGET}/release/goose ${TARGET_PATH}