Skip to content

Commit

Permalink
add build
Browse files Browse the repository at this point in the history
  • Loading branch information
HackerShohag committed Sep 17, 2023
1 parent fd5fad4 commit c90b572
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CMake on a single platform

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install Qt5/Qt6 (yaqti)
uses: WillBrennan/yaqti@2021.07.29
with:
version: 6.2.0
os: linux
platform: desktop
modules: 'qt3d qtcharts qtconnectivity qtdatavis3d qtimageformats qtlottie qtmultimedia qtnetworkauth qtpositioning qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtvirtualkeyboard qtwebchannel qtwebengine qtwebsockets qtwebview debug_info gcc_64 qt5compat qtquick3d qtquicktimeline qtshadertools qtwaylandcompositor'

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}


2 changes: 0 additions & 2 deletions templates/FloatWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ ApplicationWindow {
opacity: 0.1
color: "transparent"

// property alias title: windowTitle.text
property alias windowHeader: windowHeaderItem.data
property alias menuItem: menuContainerItem.data
property alias mainContentItem: contentContainerItem.data
Expand All @@ -46,7 +45,6 @@ ApplicationWindow {
property var contentContainerColor1: ["#64CCC5", "#EBEF95", "#E2C799", "#FFBB5C", "#FFFEC4"]
property var contentContainerColor2: ["#176B87", "#EF9595", "#9A3B3B", "#C63D2F", "#FF9B9B"]


function setRandomGradientValue() {
var randomValue = Utils.getRandomInteger(contentContainerColor1.length)

Expand Down

0 comments on commit c90b572

Please sign in to comment.