Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Dec 28, 2023
2 parents 601c1cc + 7c48cda commit 6e67758
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
30 changes: 14 additions & 16 deletions .github/workflows/deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6e67758

Please sign in to comment.