forked from EmbeddedRPC/erpc
-
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 commit '8616dbe4edeb83675ca047c5c66f51c65a4b2cec' into feature/…
…updateClangConfig Signed-off-by: Cervenka Dusan <[email protected]>
- Loading branch information
Showing
213 changed files
with
6,466 additions
and
2,509 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 |
---|---|---|
|
@@ -3,55 +3,81 @@ version: 2.1 | |
orbs: | ||
win: circleci/[email protected] # The Windows orb gives you everything you need to start using the | ||
|
||
commands: | ||
install_dependencies: | ||
parameters: | ||
compiler: | ||
default: "" | ||
type: string | ||
steps: | ||
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh <<parameters.compiler>> | ||
run_tests: | ||
parameters: | ||
compiler: | ||
default: "" | ||
type: string | ||
steps: | ||
- run: chmod u+x run_tests.sh && ./run_tests.sh <<parameters.compiler>> | ||
|
||
jobs: | ||
build-linux-gcc: | ||
machine: | ||
image: ubuntu-2204:2022.04.2 #https://circleci.com/developer/machine/image/ubuntu-2204 pick LTS | ||
steps: | ||
- checkout | ||
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh | ||
- run: chmod u+x run_tests.sh && ./run_tests.sh | ||
- install_dependencies | ||
- run_tests | ||
- store_artifacts: | ||
path: ./Release/Linux/erpcgen/erpcgen | ||
|
||
build-linux-clang: | ||
machine: | ||
image: ubuntu-2204:2022.04.2 #https://circleci.com/developer/machine/image/ubuntu-2204 pick LTS | ||
steps: | ||
- checkout | ||
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh clang | ||
- run: chmod u+x run_tests.sh && ./run_tests.sh clang | ||
- install_dependencies: | ||
compiler: "clang" | ||
- run_tests: | ||
compiler: "clang" | ||
# - store_artifacts: | ||
# path: ./Release/Linux/erpcgen/erpcgen | ||
|
||
build-mac-gcc: | ||
macos: | ||
xcode: 12.5.1 # https://circleci.com/docs/using-macos/#supported-xcode-versions https://en.wikipedia.org/wiki/MacOS_version_history#Releases | ||
resource_class: medium | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh | ||
- run: chmod u+x run_tests.sh && ./run_tests.sh | ||
- install_dependencies | ||
- run_tests | ||
- store_artifacts: | ||
path: ./Release/Darwin/erpcgen/erpcgen | ||
|
||
build-mac-clang: | ||
macos: | ||
xcode: 12.5.1 # https://circleci.com/docs/using-macos/#supported-xcode-versions https://en.wikipedia.org/wiki/MacOS_version_history#Releases | ||
resource_class: medium | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh clang | ||
- run: chmod u+x run_tests.sh && ./run_tests.sh clang | ||
- install_dependencies: | ||
compiler: "clang" | ||
- run_tests: | ||
compiler: "clang" | ||
# - store_artifacts: | ||
# path: ./Release/Darwin/erpcgen/erpcgen | ||
|
||
build-windows-mingw: | ||
executor: | ||
name: win/default | ||
size: large | ||
steps: | ||
- checkout | ||
- run: powershell.exe .\install_dependencies.ps1 | ||
- run: powershell.exe .\mingw64\bin\mingw32-make erpcgen | ||
- run: .\mingw64\bin\mingw32-make all | ||
- run: .\mingw64\opt\bin\python3.exe .\test\run_unit_tests.py -m"..\\..\\mingw64\\bin\\mingw32-make" | ||
# - store_artifacts: | ||
# path: ./Release/MINGW64/erpcgen/erpcgen.exe | ||
|
||
build-windows-VS: | ||
executor: | ||
name: win/default | ||
|
@@ -65,6 +91,7 @@ jobs: | |
- run: powershell.exe "& 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe' .\erpcgen\VisualStudio_v14\erpcgen.sln /property:Configuration=Release" | ||
- store_artifacts: | ||
path: ./erpcgen/VisualStudio_v14/Release/erpcgen.exe | ||
|
||
workflows: | ||
build-workflow: | ||
jobs: | ||
|
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
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
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
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.