Skip to content
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

Freeze dependencies used in CI #1338

Merged
merged 1 commit into from
Sep 17, 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
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ jobs:
- name: Install developer package dependencies
run: sudo apt-get update && sudo apt install -y libunwind-dev && sudo apt-get install libpulse-dev portaudio19-dev libasound2-dev libsdl2-dev gstreamer1.0-dev libgstreamer-plugins-base1.0-dev libavahi-compat-libdnssd-dev

- run: cargo build --workspace --examples
- run: cargo fetch --locked
- run: cargo build --frozen --workspace --examples
- run: cargo test --workspace

- run: cargo install cargo-hack
Expand Down Expand Up @@ -191,7 +192,8 @@ jobs:
target
key: ${{ runner.os }}-${{ steps.get-rustc-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}

- run: cargo build --workspace --examples
- run: cargo fetch --locked
- run: cargo build --frozen --workspace --examples
- run: cargo test --workspace

- run: cargo install cargo-hack
Expand Down Expand Up @@ -268,8 +270,10 @@ jobs:
echo "CARGO_TARGET_${target}_LINKER=riscv64-linux-gnu-gcc" >> $GITHUB_ENV
fi

- name: Fetch
run: cargo fetch --locked
- name: Build
run: cargo build --verbose --target ${{ matrix.target }} --no-default-features
run: cargo build --frozen --verbose --target ${{ matrix.target }} --no-default-features

- name: Check binary
run: file target/${{ matrix.target }}/debug/librespot