pineapple-pictures/.github/workflows/macos.yml

29 lines
567 B
YAML

name: macOS CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.8.1'
modules: 'qtimageformats'
- name: Run a qt project
run: |
cmake . -Bbuild
cmake --build build
- name: Deploy
run: |
macdeployqt ./build/ppic.app -dmg
ls
- uses: actions/upload-artifact@v4
with:
name: "macos-bundle"
path: build/*.dmg