Skip to content

Commit

Permalink
add job to check latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Jan 15, 2025
1 parent c6f9714 commit 1ac8c3d
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ env:

jobs:
build:
runs-on: ${{matrix.os}}
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-22.04', 'ubuntu-24.04']

runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install system packages
Expand All @@ -30,3 +24,20 @@ jobs:
run: cargo build --verbose --manifest-path rust/Cargo.toml
- name: Run tests
run: cargo test --verbose --manifest-path rust/Cargo.toml

build_latest_deps:
name: Latest Dependencies
runs-on: ubuntu-latest
continue-on-error: true
env:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
steps:
- uses: actions/checkout@v4
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev
- run: rustup update stable && rustup default stable
- run: cargo update --verbose --manifest-path rust/Cargo.toml
- run: cargo build --verbose --manifest-path rust/Cargo.toml
- run: cargo test --verbose --manifest-path rust/Cargo.toml

0 comments on commit 1ac8c3d

Please sign in to comment.