Skip to content

Commit

Permalink
Setup Tools
Browse files Browse the repository at this point in the history
  • Loading branch information
esarver committed Aug 21, 2024
1 parent 803a954 commit a2e77b7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
env:
CARGO_HOME: ".cargo"
RUSTFLAGS: "-Cinstrument-coverage -L ./"
LIB_VISA_PATH: "${{github.workflow}}"
TEST_DIR: "test-results"
LLVM_PROFILE_FILE: "../test-results/%p-%m.profraw"
steps:
Expand Down Expand Up @@ -178,11 +179,24 @@ jobs:
# triple: x86_64-apple-darwin
# vscode-platform: darwin-arm64
runs-on: ${{matrix.runner}}
env:
RUSTFLAGS: "-L ${{github.workspace}}"
LIB_VISA_PATH: "${{github.workflow}}"
steps:
- name: Tool Setup
run: rustup update nightly && rustup default nightly
- name: Ensure Correct Target is Installed
run: rustup target add ${{matrix.triple}}
- name: Tool Versions
run: rustc --version
- name: Checkout
uses: actions/checkout@v4
- name: Get Latest VISA Stub Release
uses: robinraju/release-downloader@v1
with:
repository: tektronix/libvisa-stub
latest: true
fileName: '*'
- name: Build
run: |
git config --global credential.helper store
Expand Down

0 comments on commit a2e77b7

Please sign in to comment.