Skip to content

Commit

Permalink
test: commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kszinhu committed Feb 20, 2024
1 parent cd1c078 commit fda44e6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
- name: 📦 Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential gcc cmake musl-dev pkg-config libpq-dev openssl libssl-dev \
libopus-dev
sudo apt-get install -y build-essential gcc cmake musl-dev pkg-config libpq-dev openssl libssl-dev
# - name: 📦 Install Cargo Binary install
# uses: cargo-bins/cargo-binstall@main
Expand All @@ -43,14 +42,11 @@ jobs:
with:
toolchain: 1.76
override: true
target: x86_64-unknown-linux-musl

- name: 🚀 Build
env:
# LIBOPUS_LIB_DIR: "/usr/lib/x86_64-linux-gnu"
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: "-C target-feature=-crt-static -C linker=x86_64-linux-musl-gcc"
TARGET_CC: "x86_64-linux-musl-gcc"
RUSTFLAGS: "-C target-feature=-crt-static"
run: |
RUSTFLAGS="-C target-feature=-crt-static -C linker=x86_64-linux-musl-gcc" cargo build --target x86_64-unknown-linux-musl --profile=ephemeral-build
cargo build --profile=ephemeral-build

0 comments on commit fda44e6

Please sign in to comment.