diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..d14d3cc --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,30 @@ +name: "macOS CI" +on: + push: + branches: + - '**' + release: + types: [published] + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: macOS-latest + steps: + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + aqtversion: '==3.1.*' + version: '6.7.0' + host: 'mac' + target: 'desktop' + arch: 'clang_64' + cache: true + modules: 'qt3d qtcharts qtconnectivity qtdatavis3d qtgraphs qtgrpc qthttpserver qtimageformats qtlanguageserver qtlocation qtlottie qtmultimedia qtnetworkauth qtpdf qtpositioning qtquick3dphysics qtquickeffectmaker qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtspeech qtvirtualkeyboard qtwebchannel qtwebengine qtwebsockets qtwebview qt5compat qtquick3d qtquicktimeline qtshadertools' + - name: Install QCoro + run: | + git clone https://github.com/danvratil/qcoro.git + cmake -S qcoro -B build-qcoro -DCMAKE_OSX_ARCHITECTURES=arm64;x86_64 -DCMAKE_INSTALL_PREFIX=$HOME/install + cmake --build build-qcoro + cmake --install build-qcoro