-
Notifications
You must be signed in to change notification settings - Fork 1
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 #160 from spacelab-ufsc/dev
Dev: Release v1.0 #159
- Loading branch information
Showing
144 changed files
with
5,389 additions
and
2,315 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
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 |
---|---|---|
@@ -1,63 +1,63 @@ | ||
# | ||
# unit-test-ngham.yml | ||
# test.yml | ||
# | ||
# Copyright The TTC 2.0 Contributors. | ||
# Copyright The RSCLib Contributors. | ||
# | ||
# This file is part of TTC 2.0. | ||
# This file is part of RSCLib. | ||
# | ||
# TTC 2.0 is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# RSCLib is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# TTC 2.0 is distributed in the hope that it will be useful, | ||
# RSCLib is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with TTC 2.0. If not, see <http://www.gnu.org/licenses/>. | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with RSCLib. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# | ||
|
||
name: NGHam unit tests | ||
name: NGHam Unit test | ||
|
||
on: | ||
push: | ||
branches: [dev_firmware] | ||
branches: [ dev_firmware ] | ||
pull_request: | ||
branches: [master, dev, dev_firmware] | ||
branches: [ master, dev, dev_firmware] | ||
|
||
|
||
# 'workflow_dispatch' allows manual execution of this workflow under the repository's 'Actions' tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
unit-tests: | ||
name: NGHam unit tests | ||
name: Unit tests | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt install -y cmake libcmocka0 libcmocka-dev | ||
git clone https://github.com/mgm8/rsclib.git | ||
cd rsclib | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
sudo make install | ||
mkdir firmware/app/libs/ngham-1.0/tests/build_tests | ||
cd firmware/app/libs/ngham-1.0/tests/build_tests | ||
cmake ../ | ||
- name: Compile the test | ||
run: | | ||
cd firmware/app/libs/ngham-0.1/tests | ||
make | ||
cd firmware/app/libs/ngham-1.0/tests/build_tests | ||
cmake --build . | ||
- name: Execute the test | ||
run: ./firmware/app/libs/ngham-0.1/tests/ngham_unit_test | ||
run: ./firmware/app/libs/ngham-1.0/tests/build_tests/ngham_test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
SRC=main | ||
VERSION=v0.5 | ||
VERSION=v1.0 | ||
TARGET=slb-ttc2-doc-$(VERSION) | ||
|
||
ifndef BUILD_DIR | ||
|
Oops, something went wrong.