From da4e8768ea5ec79f5dffd6a13fa44d73e6a0ed9c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Jul 2024 21:35:34 +0300 Subject: [PATCH] ci: Add workflow for building macOS x86_64 --- .github/workflows/dev.yml | 2 ++ .github/workflows/main.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 392046d2c5..58e21d36ae 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -1,6 +1,8 @@ name: Dev on: push: + branches_ignore: + - 'feature/fix_build_scripts' jobs: build_docker: name: Build Docker image diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7474323969..e0336e74d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,10 +3,27 @@ on: push: branches: - 'develop' + - 'feature/fix_build_scripts' env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} jobs: + build_macos_64: + name: Build macOS x86_64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up node & dependencies + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: "npm" + - run: npm ci + - run: ./bin/build-mac-x64.sh + - name: Archive code coverage results + uses: actions/upload-artifact@v4 + with: + path: dist/trilium-mac-x64*.zip build_docker: name: Build Docker image runs-on: ubuntu-latest