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 34c57fd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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:
- name: Checkout Repo
- uses: actions/checkout@v3

- name: Install Qt6
run: sudo apt update && sudo apt install -y libgl1-mesa-dev qt6* qml6*

- 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 34c57fd

Please sign in to comment.