Skip to content

Typecheck Expr - Hacky tweak to TAIT handling, see UpgradeQuirks #424

Typecheck Expr - Hacky tweak to TAIT handling, see UpgradeQuirks

Typecheck Expr - Hacky tweak to TAIT handling, see UpgradeQuirks #424

Workflow file for this run

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