Skip to content

Commit

Permalink
CI: only install wine when building electron
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed Sep 24, 2022
1 parent 423fca9 commit 3eb347b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,18 @@ jobs:
cache: 'npm'

# linux dependencies
- run: sudo apt update
if: matrix.os == 'ubuntu-latest'
- run: sudo apt install -y wine64
if: matrix.os == 'ubuntu-latest'
- run: sudo apt update && sudo apt install -y wine64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '14'
- run: wine --version
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '14'
- run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update -q && sudo apt-get install -y git
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '*'
# macos dependencies
# required for electron-packager
# - run: brew update
# if: matrix.os == 'macos-latest'
# - run: brew cask install xquartz wine-stable
# if: matrix.os == 'macos-latest'
# - run: brew update && brew cask install xquartz wine-stable
# if: matrix.os == 'macos-latest' && matrix.node-version == '14'
# - run: wine64 --version
# if: matrix.os == 'macos-latest'
# if: matrix.os == 'macos-latest' && matrix.node-version == '14'
- run: brew reinstall git
if: matrix.os == 'macos-latest' && matrix.node-version == '*'
# windows dependencies
Expand Down

0 comments on commit 3eb347b

Please sign in to comment.