Skip to content

Commit

Permalink
Merging with main
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioamc committed Oct 16, 2024
2 parents 677f460 + 8960bb2 commit 730662e
Show file tree
Hide file tree
Showing 159 changed files with 187 additions and 188 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 - 2022, GIBIS-Unifesp and the WiRedPanda contributors
# Copyright 2015 - 2024, GIBIS-Unifesp and the WiRedPanda contributors
# SPDX-License-Identifier: GPL-3.0-or-later

name: Build
Expand All @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
qt_version: [5.12.12, 5.13.2, 5.14.2, 5.15.2, 6.2.4, 6.3.2, 6.4.3, 6.5.2, 6.6.0]
qt_version: [5.12.12, 5.13.2, 5.14.2, 5.15.2, 6.2.4, 6.3.2, 6.4.3, 6.5.3, 6.6.3, 6.7.3]

# =================================

Expand All @@ -20,27 +20,25 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Install Qt5
if: startsWith(matrix.qt_version, '5')
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qt_version }}
cache: true
aqtversion: ==3.1.7

- name: Install Qt6
if: startsWith(matrix.qt_version, '6')
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{ matrix.qt_version }}
modules: qtmultimedia
cache: true
aqtversion: ==3.1.7

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand Down Expand Up @@ -68,7 +66,7 @@ jobs:

- name: Setup MSVC Toolchain
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-vsdevenv@v4
uses: pbeast/gha-setup-vsdevenv@master

- name: Build Windows
if: runner.os == 'Windows'
Expand All @@ -86,13 +84,14 @@ jobs:
jom check
# =================================
# https://bugreports.qt.io/browse/QTBUG-117225

- name: Build macOS
if: runner.os == 'macOS'
run: |
mkdir build
cd build
qmake ../WPanda.pro
qmake ../WPanda.pro -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib
make -j3
- name: Test macOS
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2015 - 2024, GIBIS-Unifesp and the WiRedPanda contributors
# SPDX-License-Identifier: GPL-3.0-or-later

name: "CodeQL"

on:
Expand All @@ -20,19 +23,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Install Qt
uses: jurplel/install-qt-action@v3
- name: Install Qt5
uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
cache: true
aqtversion: ==3.1.6

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand All @@ -53,4 +55,4 @@ jobs:
./WPanda-test -platform offscreen
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 - 2022, GIBIS-Unifesp and the WiRedPanda contributors
# Copyright 2015 - 2024, GIBIS-Unifesp and the WiRedPanda contributors
# SPDX-License-Identifier: GPL-3.0-or-later

name: Coverage
Expand All @@ -13,17 +13,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Install Qt
uses: jurplel/install-qt-action@v3
- name: Install Qt5
uses: jurplel/install-qt-action@v4
with:
version: 5.12.12
cache: true
aqtversion: ==3.1.6

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015 - 2022, GIBIS-Unifesp and the WiRedPanda contributors
# Copyright 2015 - 2024, GIBIS-Unifesp and the WiRedPanda contributors
# SPDX-License-Identifier: GPL-3.0-or-later

name: Deploy
Expand All @@ -19,27 +19,25 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Install Qt 32bit
- name: Install Qt5 32bit
if: matrix.os == 'windows-latest'
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
cache: true
aqtversion: ==3.1.6
arch: win32_msvc2019

- name: Install Qt 64bit
- name: Install Qt5 64bit
if: matrix.os != 'windows-latest'
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
cache: true
aqtversion: ==3.1.6

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand Down Expand Up @@ -77,7 +75,7 @@ jobs:
mv WiRedPanda-4-x86_64.AppImage WiRedPanda-Ubuntu-Qt5.AppImage
- name: Publish Ubuntu
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: runner.os == 'Linux'
with:
fail_on_unmatched_files: true
Expand All @@ -87,7 +85,7 @@ jobs:

- name: Setup MSVC Toolchain
if: startsWith(matrix.os, 'windows')
uses: seanmiddleditch/gha-setup-vsdevenv@v4
uses: pbeast/gha-setup-vsdevenv@master
with:
arch: x86

Expand Down Expand Up @@ -119,20 +117,21 @@ jobs:
Compress-Archive -Path wpanda -DestinationPath WiRedPanda-Windows-Qt5-Portable.zip
- name: Publish Windows
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(matrix.os, 'windows')
with:
fail_on_unmatched_files: true
files: 'build/app/*.zip'

# =================================
# https://bugreports.qt.io/browse/QTBUG-117225

- name: Build macOS
if: runner.os == 'macOS'
run: |
mkdir build
cd build
qmake ../WPanda.pro
qmake ../WPanda.pro -early QMAKE_DEFAULT_LIBDIRS=$(xcrun -show-sdk-path)/usr/lib
make -j3
- name: Test macOS
Expand All @@ -149,7 +148,7 @@ jobs:
mv wiredpanda.dmg WiRedPanda-macOS-Qt5.dmg
- name: Publish macOS
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: runner.os == 'macOS'
with:
fail_on_unmatched_files: true
Expand Down
2 changes: 1 addition & 1 deletion app/arduino/codegenerator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "codegenerator.h"
Expand Down
2 changes: 1 addition & 1 deletion app/arduino/codegenerator.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/bewaveddolphin.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "bewaveddolphin.h"
Expand Down
2 changes: 1 addition & 1 deletion app/bewaveddolphin.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/clockdialog.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "clockdialog.h"
Expand Down
2 changes: 1 addition & 1 deletion app/clockdialog.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/commands.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "commands.h"
Expand Down
2 changes: 1 addition & 1 deletion app/commands.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/common.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "common.h"
Expand Down
2 changes: 1 addition & 1 deletion app/common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/and.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "and.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/and.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/buzzer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "buzzer.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/buzzer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/clock.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "clock.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/clock.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/demux.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "demux.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/demux.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/dflipflop.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "dflipflop.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/dflipflop.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/display_14.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "display_14.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/display_14.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/display_7.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "display_7.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/display_7.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/dlatch.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "dlatch.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/dlatch.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/inputbutton.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "inputbutton.h"
Expand Down
2 changes: 1 addition & 1 deletion app/element/inputbutton.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion app/element/inputgnd.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015 - 2022, GIBIS-UNIFESP and the wiRedPanda contributors
// Copyright 2015 - 2024, GIBIS-UNIFESP and the wiRedPanda contributors
// SPDX-License-Identifier: GPL-3.0-or-later

#include "inputgnd.h"
Expand Down
Loading

0 comments on commit 730662e

Please sign in to comment.