Skip to content

Commit

Permalink
(ci-sdxl) check for apt dependencies before installing (nod-ai#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet authored Nov 2, 2024
1 parent 8d5f850 commit ce41982
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci-sdxl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,16 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install cmake ninja-build -y
if dpkg -s cmake &>/dev/null; then
echo 'cmake is installed'
else
sudo apt install cmake -y
fi
if dpkg -s ninja-build &>/dev/null; then
echo 'ninja is installed'
else
sudo apt install ninja -y
fi
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down

0 comments on commit ce41982

Please sign in to comment.