-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/trueromanus/ArdorQuery
- Loading branch information
Showing
2 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,24 @@ jobs: | |
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@v3 | ||
- name: Configure MSVC | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: x64 | ||
spectre: true | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
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: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,28 +2,26 @@ name: PackageDeb | |
|
||
on: | ||
push: | ||
branches: [ "deploy" ] | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: apt-update | ||
run: sudo apt-get update -qq | ||
- name: apt get qt | ||
run: sudo apt-get install -y --no-install-recommends 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 | ||
- name: Configure MSVC | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: x64 | ||
spectre: true | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
version: 6.6.0 | ||
modules: qtscxml qt5compat qtimageformats qtwebsockets | ||
- name: run qmake | ||
run: qmake6 -makefile -o src/Makefile src/ArdorQuery.pro | ||
run: qmake -makefile -o src/Makefile src/ArdorQuery.pro | ||
- name: run make | ||
run: make -C src | ||
- name: copy executable | ||
run: mkdir -p scripts/deb/source/usr/bin/ && cp src/ArdorQuery scripts/deb/source/usr/bin/ArdorQuery | ||
- name: build deb | ||
run: dpkg-deb -b scripts/deb/source ardorquery_amd64.deb | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: ardorquery_amd64.deb | ||
|
||
run: cd src && nmake /F Makefile |