Skip to content

Remove windows and macos bridge release #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions .github/workflows/bridge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,18 @@ env:

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ${{ matrix.os }}
name: release x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
environment: release

strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
os: windows-latest
extension: ".exe"

- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
extension: ""

- target: x86_64-apple-darwin
os: macos-latest
extension: ""

- target: aarch64-apple-darwin
os: macos-latest
extension: ""
Expand All @@ -37,21 +29,15 @@ jobs:

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}

- name: Install musl for x86_64-unknown-linux-musl
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
run: sudo apt-get install -y musl-dev musl-tools

- name: Compile bridge
run: cargo build --target ${{ matrix.target }} --release --manifest-path bridge/svix-bridge/Cargo.toml
run: cargo build --release --manifest-path bridge/svix-bridge/Cargo.toml

- name: Release
uses: actions/upload-artifact@v3
with:
name: svix-bridge-${{ matrix.target }}
path: bridge/target/${{ matrix.target }}/release/svix-bridge${{ matrix.extension }}
name: svix-bridge-x86_64-unknown-linux-gnu
path: bridge/target/release/svix-bridge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down