Skip to content

Done.

Done. #106

Workflow file for this run

name: Compile on MacOS
on:
push:
branches: [ develop ]
paths-ignore:
- ".gitignore"
- "README.md"
- "CHANGELOG.md"
# ignore CI for other platforms
- ".github/workflows/android.yml"
- ".github/workflows/ios.yml"
- ".github/workflows/linux.yml"
- ".github/workflows/windows.yml"
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
cache: 'true'
version: '6.8.*'
- name: Configure
run: |
cmake -E make_directory build
$QT_ROOT_DIR/bin/qt-cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_INSTALL_PREFIX=. -S . -B build
- name: Compile
run: |
cmake --build build
- name: Package
run: |
cmake --build build --target install
$QT_ROOT_DIR/bin/macdeployqt addhoursandminutes.app -dmg
mv addhoursandminutes.dmg addTimes-macOS-universal.dmg
- name: Upload to developerBuilds
run: |
gh release upload --clobber developerBuilds addTimes-macOS-universal.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}