Skip to content

Commit

Permalink
add macOS CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain authored Jul 11, 2024
1 parent f0f89a5 commit f143ccd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build on macOS

on: [workflow_dispatch, push]

jobs:
build:
runs-on: macos-latest
steps:
- name: Clone Project
uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.7.2

- name: Build Project
run: |
mkdir build
cd build
cmake ..
make -j3
macdeployqt build/sane-break.app -dmg
- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: "Sane Break (macOS)"
path: ./build/sane-break.dmg

0 comments on commit f143ccd

Please sign in to comment.