Give a better error message if llvm-profdata isn't installed #365
Workflow file for this run
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| pull_request: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| version: | |
| - 1.82.0 | |
| - stable | |
| - beta | |
| - nightly | |
| target: | |
| - x86_64-unknown-linux-gnu | |
| - x86_64-unknown-linux-musl | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.version }} | |
| override: true | |
| components: rustfmt, llvm-tools-preview | |
| - name: build | |
| run: | | |
| cargo check --no-default-features | |
| cargo check --all-features | |
| - name: test | |
| run: | | |
| cargo install cargo-binutils@0.3.6 | |
| cargo test | |
| - name: check formatting | |
| run: cargo fmt -- --check | |
| windows: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| version: | |
| - stable | |
| - nightly | |
| target: | |
| - x86_64-pc-windows-gnu | |
| - x86_64-pc-windows-msvc | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.version }} | |
| override: true | |
| components: llvm-tools-preview | |
| - name: test | |
| run: | | |
| cargo install cargo-binutils@0.3.6 | |
| cargo test | |
| mac: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| version: | |
| - stable | |
| - nightly | |
| target: | |
| - x86_64-apple-darwin | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.version }} | |
| override: true | |
| components: llvm-tools-preview | |
| - name: test | |
| run: | | |
| cargo install cargo-binutils@0.3.6 | |
| cargo test |