Skip to content

Commit

Permalink
Merge pull request #445 from Luos-io/rc_3.0.0
Browse files Browse the repository at this point in the history
Luos Engine Release 3.0.0
  • Loading branch information
nicolas-rabault authored Dec 13, 2023
2 parents 7d6b810 + 68015b7 commit e87fe5e
Show file tree
Hide file tree
Showing 936 changed files with 38,023 additions and 45,740 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
By submiting this PR, you agree with the associated license ([Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) or [MIT](http://choosealicense.com/licenses/mit/)) and with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA).
By submiting this PR, you agree with the associated license [MIT](http://choosealicense.com/licenses/mit/)) and with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA).

## Before to begin

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,24 @@ jobs:
# Run Unit tests
platformio test -vvv
- if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y lcov
lcov -d .pio/build/native/ -c -o lcov.info
lcov --remove lcov.info '*/usr/*' '*/Platforms/*' '*/bootloader/*' '*/.pio/*' '*/HAL/*' '*/test/*' '*/network/*' -o lcov.info
- if: matrix.os == 'ubuntu-latest'
name: Coveralls
uses: coverallsapp/github-action@v2

unit-tests:
name: Unit tests
needs: tests-run
runs-on: ubuntu-latest
steps:
- run: echo "Tests succeed!"


code-format:
name: Code format
runs-on: ubuntu-latest
Expand Down
86 changes: 33 additions & 53 deletions .github/workflows/pio_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
pio package publish --owner luos --non-interactive
cd ../..
deploy_inspector:
deploy_pipe:
needs: check_valid_tag
runs-on: ubuntu-latest
steps:
Expand All @@ -123,64 +123,44 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install platformio
- name: publish inspector tool
- name: publish pipe driver
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
run: |
# ***** Inspector publication *****
cd tool_services/inspector
mkdir examples
# Arduino
mkdir examples/Arduino
mkdir examples/Arduino/serial
cp -r ../../examples/projects/Arduino/inspector_serialcom/* examples/Arduino/serial/
# l0
mkdir examples/l0
mkdir examples/l0/serial
cp -r ../../examples/projects/l0/inspector_serialcom/* examples/l0/serial/
# NUCLEO-F072RB
mkdir examples/NUCLEO-F072RB
mkdir examples/NUCLEO-F072RB/serial
cp -r ../../examples/projects/NUCLEO-F072RB/inspector_serialcom/* examples/NUCLEO-F072RB/serial/
# NUCLEO-F401RE
mkdir examples/NUCLEO-F401RE
mkdir examples/NUCLEO-F401RE/serial
cp -r ../../examples/projects/NUCLEO-F401RE/inspector_serialcom/* examples/NUCLEO-F401RE/serial/
# NUCLEO-F410RB
mkdir examples/NUCLEO-F410RB
mkdir examples/NUCLEO-F410RB/serial
cp -r ../../examples/projects/NUCLEO-F410RB/inspector_serialcom/* examples/NUCLEO-F410RB/serial/
# NUCLEO-G431KB
mkdir examples/NUCLEO-G431KB
mkdir examples/NUCLEO-G431KB/serial
cp -r ../../examples/projects/NUCLEO-G431KB/inspector_serialcom/* examples/NUCLEO-G431KB/serial/
# NUCLEO-G474RE
mkdir examples/NUCLEO-G474RE
mkdir examples/NUCLEO-G474RE/serial
cp -r ../../examples/projects/NUCLEO-G474RE/inspector_serialcom/* examples/NUCLEO-G474RE/serial/
# ***** Pipe publication *****
cd tool_services/pipe
# We don't publish examples with this one.
# NUCLEO-L432KC
mkdir examples/NUCLEO-L432KC
mkdir examples/NUCLEO-L432KC/serial
cp -r ../../examples/projects/NUCLEO-L432KC/inspector_serialcom/* examples/NUCLEO-L432KC/serial/
pio package pack
pio package publish --owner luos --non-interactive
cd ../..
# STM32F4-discovery
mkdir examples/STM32F4-discovery
mkdir examples/STM32F4-discovery/serial
cp -r ../../examples/projects/STM32F4-discovery/inspector_serialcom/* examples/STM32F4-discovery/serial/
deploy_robus:
needs: check_valid_tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: publish robus network
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
run: |
# ***** Robus network publication *****
cd network/robus_network
# We don't publish examples with this one.
pio package pack
pio package publish --owner luos --non-interactive
cd ../..
deploy_pipe:
deploy_serial:
needs: check_valid_tag
runs-on: ubuntu-latest
steps:
Expand All @@ -193,14 +173,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install platformio
- name: publish pipe driver
- name: publish robus network
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
run: |
# ***** Pipe publication *****
cd tool_services/pipe
# ***** Serial network publication *****
cd network/serial_network
# We don't publish examples with this one.
pio package pack
pio package publish --owner luos --non-interactive
cd ../..
cd ../..
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
**/.gitignore
*.out
*.log
*.info
*.profraw
cov/*
/examples/projects/NUCLEO-G431KB/button/.mxproject
/examples/projects/NUCLEO-G431KB/button/Button.gpdsc
/examples/projects/NUCLEO-L432KC/button/Button.gpdsc
Expand All @@ -31,4 +34,7 @@
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/build/
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/.generated_files/
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/dist/
examples/projects/ESP32/button/sdkconfig.esp32dev
examples/projects/ESP32/led/sdkconfig.esp32dev
tool_services/pipe/WS/ARDUINO/arduinoWebSockets/
mongoose/
7 changes: 3 additions & 4 deletions CLA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the Apache 2.0 license; or
have the right to submit it under the MIT license; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the Apache 2.0 license; or
by me, under the MIT license; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
Expand All @@ -23,5 +23,4 @@ By making a contribution to this project, I certify that:

---

The text of this license is available under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/). It is based on the Linux [Developer Certificate Of Origin](http://elinux.org/Developer_Certificate_Of_Origin), but is modified to explicitly use the Apache 2.0 license
and not mention sign-off.
The text of this license is available under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/). It is based on the Linux [Developer Certificate Of Origin](http://elinux.org/Developer_Certificate_Of_Origin), but is modified to explicitly use the MIT license and not mention sign-off.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ There are many resources to guide you into making clean contribution on the Inte
</blockquote>

<blockquote>ℹ️ Info<br />
Luos is open source. Keep in mind that any contribution you make will be under the <a href="http://choosealicense.com/licenses/mit/" target="_blank">MIT Software License</a> for examples, and the <a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache 2.0 Licence</a> for Luos engine. In short, when you submit code to the project, you agree with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA) and your submission is placed under the same license that the one covering the project.
Luos is open source. Keep in mind that any contribution you make will be under the <a href="http://choosealicense.com/licenses/mit/" target="_blank">MIT Software License</a>, when you submit code to the project, you agree with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA) and your submission is placed under the same license that the one covering the project.
</blockquote>

People love thorough bug reports or feature requests. They tend to have:
Expand Down
Loading

0 comments on commit e87fe5e

Please sign in to comment.