From 49b5e2224feb03d643863e67b984240d91ccdf6a Mon Sep 17 00:00:00 2001 From: Avi Zimmerman Date: Sun, 5 Nov 2023 17:48:29 +0200 Subject: [PATCH] ci: add steps for building on macos --- .github/workflows/ci.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 612f7fb..4ad7013 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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