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

29 lines
567 B
YAML
Raw Normal View History

2020-06-18 23:06:15 +08:00
name: macOS CI
2024-12-02 00:25:48 +08:00
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt
2024-12-02 00:25:48 +08:00
uses: jurplel/install-qt-action@v4
2021-03-09 21:41:51 +08:00
with:
2024-12-02 00:25:48 +08:00
version: '6.8.1'
modules: 'qtimageformats'
- name: Run a qt project
run: |
2024-12-02 00:25:48 +08:00
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