Skip to content

Commit

Permalink
Check blueprint on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjauslin-rutgers committed Apr 29, 2024
1 parent 8bab498 commit 73c9225
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,35 @@ jobs:

- name: Build project
run: make LAKEBIN='~/.elan/bin/lake' build

build_blueprint:
runs-on: ubuntu-latest
name: Build blueprint
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # cache pip dependencies

- name: Update pip
run: |
pip install --upgrade pip
- name: Install blueprint apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y graphviz libgraphviz-dev pdf2svg dvisvgm
- name: Install blueprint dependencies
run: |
cd blueprint && pip install -r requirements.txt
- name: Build blueprint
run: |
make blueprint

0 comments on commit 73c9225

Please sign in to comment.