-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from FSLART/dev
Pre Release do volante T14
- Loading branch information
Showing
34 changed files
with
1,890 additions
and
208 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: buildQmake_wf.yml | ||
on: | ||
workflow_call: | ||
inputs: | ||
qmakeflags: | ||
required: false | ||
type: string | ||
binaryfilename: | ||
required: true | ||
type: string | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: qt6-base-dev qt5-qmake qtbase5-dev libqt6serialport6 libqt6serialport6-dev libqt5serialport5 libqt5serialport5-dev nlohmann-json3-dev socat gengetopt | ||
version: 1.0 | ||
- name: Build with qmake | ||
run: /usr/bin/qmake VolanteAlphaQT.pro ${{ inputs.qmakeflags }} && make | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ inputs.binaryfilename }} | ||
path: ${{ github.workspace }}/bin/${{ inputs.binaryfilename }} | ||
if-no-files-found: error |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: deploy_wf | ||
on: | ||
push: | ||
branches: [ master, workflow-stuff ] | ||
jobs: | ||
deploy-production: | ||
uses: | ||
./.github/workflows/deploymentProduction_wf.yml | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#A workflow to deploy the application to a banana pi Zero M2 | ||
name: deploymentProduction_wf | ||
on: workflow_call | ||
jobs: | ||
build-qt-desktop: | ||
uses: ./.github/workflows/buildQmake_wf.yml | ||
with: | ||
qmakeflags: "CONFIG+=release_armv7Cortex" | ||
binaryfilename: VolanteAlphaQT | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: testQTarmv7_wf | ||
on: | ||
workflow_call: | ||
inputs: | ||
suite: | ||
required: false | ||
type: string | ||
jobs: | ||
build-qt-tests-armv7: | ||
uses: ./.github/workflows/buildQmake_wf.yml | ||
with: | ||
qmakeflags: "CONFIG+=\"test release_armv7Cortex\"" | ||
binaryfilename: VolanteAlphaQT_testes | ||
test-qt-armv7: | ||
needs: [build-qt-desktop] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Fetch artifacts from build-qt-desktop | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
path: bin | ||
workflow: ${{ github.event.workflow_run.workflow_id }} | ||
workflow_conclusion: completed | ||
name: VolanteAlphaQT_testes | ||
# open ssh connection to the server | ||
- name: Setup permissions | ||
run: chmod u+x $GITHUB_WORKSPACE/bin/VolanteAlphaQT_testes | ||
- uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: qt6-base-dev qt5-qmake qtbase5-dev libqt6serialport6 libqt6serialport6-dev libqt5serialport5 libqt5serialport5-dev nlohmann-json3-dev socat gengetopt | ||
version: 1.0 | ||
- name: Run tests | ||
run: cd $GITHUB_WORKSPACE/bin && ./VolanteAlphaQT_testes -platform offscreen | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: testQTdesktop_wf | ||
on: | ||
workflow_call: | ||
inputs: | ||
suite: | ||
required: false | ||
type: string | ||
jobs: | ||
build-qt-desktop: | ||
uses: ./.github/workflows/buildQmake_wf.yml | ||
with: | ||
qmakeflags: "CONFIG+=test" | ||
binaryfilename: VolanteAlphaQT_testes | ||
test-qt-desktop: | ||
needs: [build-qt-desktop] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Fetch artifacts from build-qt-desktop | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
path: bin | ||
workflow: ${{ github.event.workflow_run.workflow_id }} | ||
workflow_conclusion: completed | ||
name: VolanteAlphaQT_testes | ||
# open ssh connection to the server | ||
- name: Setup permissions | ||
run: chmod u+x $GITHUB_WORKSPACE/bin/VolanteAlphaQT_testes | ||
- uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
packages: qt6-base-dev qt5-qmake qtbase5-dev libqt6serialport6 libqt6serialport6-dev libqt5serialport5 libqt5serialport5-dev nlohmann-json3-dev socat gengetopt | ||
version: 1.0 | ||
- name: Run tests | ||
run: cd $GITHUB_WORKSPACE/bin && ./VolanteAlphaQT_testes -platform offscreen | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: test_wf | ||
on: | ||
push: | ||
branches: [ master, workflow-stuff ] | ||
jobs: | ||
test-qt-desktop: | ||
uses: | ||
./.github/workflows/testQTdesktop_wf.yml | ||
secrets: inherit | ||
|
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
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
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
Oops, something went wrong.