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

Fix for M1 machines by updating/refreshing deps to unblock lukasz #351

Merged
merged 19 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 16 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
25 changes: 11 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,25 @@ jobs:
tests-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: llvm-tools-preview
- name: extract cpuid flags
id: extract-cpuid-flags
run: echo "flags=$(grep '^flags' /proc/cpuinfo | head -n1 | shasum)" >> $GITHUB_OUTPUT
- name: Install deps
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1; sudo apt-get clean
- name: Install llvm-tools-preview
run: rustup component add llvm-tools-preview
- uses: Swatinem/rust-cache@v2
with:
key: ${{steps.extract-cpuid-flags.outputs.flags }}
- name: Install cargo-llvm-cov
- name: Instasll cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
env:
RUSTFLAGS: -D warnings -C target-cpu=native
RUST_BACKTRACE: full
run: cargo llvm-cov --verbose --workspace --lcov --output-path lcov.txt --locked
- uses: codecov/codecov-action@v3
run: cargo llvm-cov --verbose --lcov --output-path lcov.txt --locked
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./lcov.txt # optional
fail_ci_if_error: true # optional (default = false)
fail_ci_if_error: #{{ github.event_name == 'pull_request' }}
verbose: true # optional (default = false)
Loading
Loading