Skip to content

Commit

Permalink
ci: Add workflow for building macOS x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 13, 2024
1 parent 5b30bae commit da4e876
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Dev
on:
push:
branches_ignore:
- 'feature/fix_build_scripts'
jobs:
build_docker:
name: Build Docker image
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da4e876

Please sign in to comment.