Skip to content

Commit

Permalink
include macosx test
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 4, 2023
1 parent a9503ee commit f1750d5
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build MacOS

on:
push:

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
runs-on: macos-latest

defaults:
run:
working-directory: src

steps:
- uses: actions/checkout@v3

- name: Install Qt
uses: jurplel/install-qt-action@v3

- name: Install create-dmg
run: brew install create-dmg


- name: Build
# Build your program with the given configuration
run: |
mkdir build
cd build
qmake CONFIG+=release ..\QOpenHD.pro
ls -a
create-dmg QOpenHD.dmg QOpenHD.app
- name: Upload to Github
uses: 'actions/upload-artifact@v3'
with:
name: "OpenHD Image Writer"
path: |
/Users/runner/work/OpenHD-ImageWriter/OpenHD-ImageWriter/build/QOpenHD.dmg
if-no-files-found: error

0 comments on commit f1750d5

Please sign in to comment.