chore(fix): add riscv64 cross-compile build option (#71) #23
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: Coverage | |
'on': | |
push: | |
branches: | |
- development | |
- cov-* | |
env: | |
RUSTUP_TOOLCHAIN: "nightly" | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install --no-install-recommends --assume-yes \ | |
jq lcov | |
- name: toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
toolchain: nightly | |
components: llvm-tools-preview | |
- name: Install requirements for code coverage | |
run: | | |
cargo install cargo-binutils | |
cargo install rustfilt | |
- name: Run test coverage | |
id: coverage | |
env: | |
SKIP_HTML: "1" | |
run: | | |
/bin/bash -c ./code_coverage.sh | |
- name: Coveralls upload | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./cov_raw/randomx-rs.lcov |