Skip to content

Commit

Permalink
Add separate dependency setup sections for each os in PR action
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Jan 19, 2024
1 parent 46b087b commit b6e3264
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
- name: Install dependencies (Linux)
if: matrix.os == 'ubuntu-20.04'
# - Install msttcorefonts, so we have the Verdana font available for diagram generation
# - Install graphviz, so we have the dot binary available for diagram generation
run: |-
Expand All @@ -26,6 +27,21 @@ jobs:
sudo apt-get install -y graphviz
sudo apt-get install -y build-essential libz-dev
- name: Install dependencies (Windows)
if: matrix.os == 'windows-latest'
# - Install graphviz, so we have the dot binary available for diagram generation
run: |-
choco install zip --execution-timeout=600
choco install unzip --execution-timeout=600
choco install graphviz --execution-timeout=600
shell: bash

- name: Install dependencies (MacOs)
if: matrix.os == 'macos-latest'
# - Install graphviz, so we have the dot binary available for diagram generation
run: |-
brew install graphviz
- name: Setup JDK
uses: graalvm/setup-graalvm@v1
with:
Expand Down

0 comments on commit b6e3264

Please sign in to comment.