Removing compiler build and using rustup
#40
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: 'Test' | |
on: | |
pull_request: | |
branches: [ "master" ] | |
push: | |
branches: [ "master" ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
integration-tests: | |
name: "Integration tests" | |
runs-on: [self-hosted, linux, normal] | |
steps: | |
- name: 'Check out code' | |
uses: actions/checkout@v4 | |
with: | |
# Check out pull request HEAD instead of merge commit. | |
ref: ${{ github.event.pull_request.head.sha }} | |
submodules: recursive | |
- name: 'Install rustup' | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > install.sh | |
sh install.sh -y | |
- name: 'Build smir_pretty' | |
run: | | |
cargo build -vv | |
- name: 'Run smir integration tests' | |
run: | | |
make integration-test |