Bump vtr-verilog-to-routing from 254d38f
to b4a41b5
#1517
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: Code Format | |
# Run CI on push, PR, and weekly. | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0 " # weekly | |
# Multiple job to tests | |
jobs: | |
change_detect: | |
name: "Check" | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: "C/C++" | |
code_type: "-cpp" | |
- name: "XML" | |
code_type: "-xml" | |
- name: "Python" | |
code_type: "-py" | |
steps: | |
- name: Cancel previous | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout OpenFPGA repo | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo bash ./.github/workflows/install_dependencies_build.sh | |
sudo python3 -m pip install -r requirements.txt | |
- name: Dump tool versions | |
run: | | |
clang-format-10 --version | |
black --version | |
- name: Check format | |
run: ./dev/check-format.sh ${{ matrix.config.code_type }} |