Skip to content

Commit

Permalink
GitHub Workflows: Update and fix macOS workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
KimonHoffmann committed Aug 28, 2024
1 parent 83a4444 commit 678838b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,21 @@ jobs:
- uses: actions/checkout@v3

- name: Install Dependencies (Ubuntu)
if: startsWith(matrix.config.os, 'ubuntu')
shell: bash
if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build qtbase5-dev
- name: Install Dependencies (macOS)
if: startsWith(matrix.config.os, 'macos')
if: ${{ startsWith(matrix.config.os, 'macos') }}
run: |
brew install cmake ninja qt@5
brew link --force qt@5
sudo ln -s "$(brew --prefix qt@5)/mkspecs" /usr/local
sudo ln -s "$(brew --prefix qt@5)/plugins" /usr/local
sudo ln -s "$(brew --prefix qt@5)/mkspecs" /opt/homebrew
sudo ln -s "$(brew --prefix qt@5)/plugins" /opt/homebrew
- name: Install Dependencies (Windows)
if: startsWith(matrix.config.os, 'windows')
if: ${{ startsWith(matrix.config.os, 'windows') }}
run: |
choco install cmake ninja qt5-default
Expand Down

0 comments on commit 678838b

Please sign in to comment.