Revert "Made parser capable of handling USEMINSPACING and MASKS in rectangles" #222
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
# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md | |
name: test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install 2to3, protobuf and black | |
run: pip3 install 2to3 protobuf black | |
# - name: Check out latest Vlsir dependencies | |
# working-directory: layout21protos | |
# run: | | |
# git clone https://github.com/Vlsir/Vlsir.git vlsir | |
# cd vlsir | |
# scripts/build.sh | |
# cd - | |
- name: Run cargo test | |
run: cargo test --all --verbose -- --show-output | |
lints: | |
name: Lints | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Run cargo fmt | |
continue-on-error: true # FIXME: remove | |
run: cargo fmt --all -- --check | |
- name: Run cargo clippy | |
continue-on-error: true # FIXME: remove | |
run: cargo clippy -- -D warnings |