+ Added dateTimeUtcNow predefined variable #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
linuxbuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: apt-update | |
run: sudo apt-get update -qq | |
- name: apt get qt | |
run: sudo apt-get install -y --no-install-recommends build-essential qt6-base-dev libqt6websockets6-dev libqt6svg6-dev qt6-declarative-dev qml6-module-qtquick qml6-module-qtquick-controls qml6-module-qtquick-dialogs qml6-module-qtquick-templates qml6-module-qtquick-window qml6-module-qtquick-layouts qml6-module-qtqml-workerscript qml-qt6 libqt6quick6 libqt6quickcontrols2-6 libqt6opengl6-dev libgl1-mesa-dev | |
- name: run qmake | |
run: qmake6 -makefile -o src/Makefile src/ArdorQuery.pro | |
- name: run make | |
run: make -C src | |
macosbuild: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Qt dependencies | |
uses: jurplel/[email protected] | |
with: | |
version: 6.5.3 | |
cache: true | |
modules: 'qtscxml qt5compat qtshadertools qtimageformats qtwebsockets' | |
- name: run qmake | |
run: qmake6 -makefile -o src/Makefile src/ArdorQuery.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" | |
- name: run make | |
run: make -C src | |
windowsbuild: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure MSVC | |
uses: ilammy/[email protected] | |
with: | |
arch: x64 | |
spectre: true | |
- name: Install Qt | |
uses: jurplel/[email protected] | |
with: | |
version: 6.6.0 | |
modules: qtscxml qt5compat qtimageformats qtwebsockets | |
- name: run qmake | |
run: qmake -makefile -o src/Makefile src/ArdorQuery.pro | |
- name: run make | |
run: cd src && nmake /F Makefile | |
publishdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
- name: Deploy docs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |