Fix for M1 machines by updating/refreshing deps to unblock lukasz #1215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | ||
on: [push, pull_request] | ||
jobs: | ||
tests-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- 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 | ||
- 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 --lcov --output-path lcov.txt --locked | ||
- uses: codecov/codecov-action@v4 | ||
attempt_delay: 10000 | ||
Check failure on line 25 in .github/workflows/tests.yml GitHub Actions / TestsInvalid workflow file
|
||
with: | | ||
files: ./lcov.txt # optional | ||
fail_ci_if_error: #{{ github.event_name == 'pull_request' }} | ||
verbose: true # optional (default = false) |