diff --git a/.github/workflows/linux-appimage.yml b/.github/workflows/linux-appimage.yml new file mode 100644 index 0000000..f2688c0 --- /dev/null +++ b/.github/workflows/linux-appimage.yml @@ -0,0 +1,60 @@ +name: "Linux (AppImage) CI" +on: + push: + branches: + - '**' + release: + types: [published] + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install Ninja + uses: seanmiddleditch/gha-setup-ninja@master + - name: Install mpc + run: | + sudo apt-get install libmpc-dev libutf8proc-dev + - name: Install Qt + uses: jurplel/install-qt-action@v3 + with: + aqtversion: '==3.1.*' + version: '6.6.3' + target: 'desktop' + arch: 'gcc_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 + uses: theCheeseboard/actions/build-cmake-project@actions + with: + project: danvratil/qcoro + commitish: v0.10.0 + - name: Install libcontemporary + uses: theCheeseboard/actions/build-cmake-project@actions + with: + project: theCheeseboard/libcontemporary + commitish: features/qml + - name: Install contemporary-qml + uses: theCheeseboard/actions/build-cmake-project@actions + with: + project: theCheeseboard/contemporary-qml + commitish: main + - name: Install tcalc + id: tcalc + uses: theCheeseboard/actions/build-cmake-project@actions + with: + project: vrabbers/tcalc + commitish: main + - name: Install thecalculator + id: thecalculator + uses: theCheeseboard/actions/build-cmake-project@actions + with: + project: . + commitish: . + - name: Deploy thecalculator + uses: theCheeseboard/actions/deploy-project@actions + with: + sourceDirectory: ${{ steps.thecalculator.outputs.source-directory }} + buildDirectory: ${{ steps.thecalculator.outputs.build-directory }}