HIR Typecheck - Use unique placeholder names, avoid expensive allocat… #448
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: C/C++ CI | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make | |
run: | | |
make all | |
make -C tools/minicargo | |
make -C tools/testrunner | |
- name: save artefacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: binaries | |
path: | | |
bin/minicargo | |
bin/mrustc | |
bin/testrunner | |
test: | |
needs: build | |
strategy: | |
fail-fast: false | |
matrix: | |
rustver: ["1.29", "1.39", "1.19", "1.54", "1.74"] | |
runs-on: ubuntu-latest | |
env: | |
RUSTC_VERSION: ${{ matrix.rustver }}.0 | |
MRUSTC_TARGET_VER: ${{ matrix.rustver }} | |
OUTDIR_SUF: -${{ matrix.rustver }}.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: avoid recompile | |
run: make --touch && make --touch -C tools/minicargo && make --touch -C tools/testrunner | |
- name: Download all workflow run artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: binaries | |
path: bin | |
- name: make RUSTCSRC | |
run: make RUSTCSRC | |
- name: avoid recompile 2 | |
run: make --touch && make --touch -C tools/minicargo && make --touch -C tools/testrunner && chmod +x bin/* | |
- name: make test | |
run: make test |