Skip to content

Commit

Permalink
ci: add steps for building on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyzimmer committed Nov 5, 2023
1 parent 15df260 commit 49b5e22
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,22 @@ jobs:
check-latest: true
node-version-file: .nvmrc

- name: Install Wine on Hosted Runners
if: ${{ !startswith(vars.BUILD_PLATFORM, 'self-hosted') }}
- name: Install Wine on Hosted Ubuntu Runners
if: ${{ startswith(vars.BUILD_PLATFORM, 'ubuntu') }}
run: |
set -ex
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y wine64 wine32
- name: Install UPX on Hosted macOS Runners
if: ${{ startswith(vars.BUILD_PLATFORM, 'macos') }}
run: brew install upx

- name: Build Webmesh Daemon
run: cd webmesh && make dist-webmeshd

- name: Build App
- name: Build Electron App
env:
GH_TOKEN: ${{ github.token }}
run: |
set -ex
yarn
yarn build:all
run: yarn && yarn build:all

0 comments on commit 49b5e22

Please sign in to comment.