Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17628] Add Windows CI workflow #3367

Merged
merged 23 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d09dba2
Refs #17628: Add Windows CI workflow
EduPonz Mar 15, 2023
e4520ab
Refs #17628: Avoid concurrent redundant workflows
EduPonz Mar 15, 2023
c7e7cb7
Refs #17628: Do not try to create src dir again
EduPonz Mar 15, 2023
d5f2209
Refs #17628: Add --no-warn-unused-cli as cmake-arg
EduPonz Mar 15, 2023
7ac7e9c
Refs #17628: Check build step outcome before testing
EduPonz Mar 15, 2023
7f29680
Refs #17628: Add --merge-install to colcon test command
EduPonz Mar 16, 2023
0740115
Refs #17628: Repeat until pass 3
EduPonz Mar 16, 2023
e2c56d0
Refs #17628: Also upload command.log
EduPonz Mar 16, 2023
05a7777
Refs #17628: Apply suggestions
EduPonz Mar 27, 2023
7b827f5
Refs #17628: Re run failed tests with colcon instead of with Ctest
EduPonz Mar 27, 2023
918a6d6
Refs #17628: Install xmlschema
EduPonz Mar 28, 2023
dbce032
Refs #17628: Fix summary generation
EduPonz Mar 28, 2023
cbbd902
Refs #17628: Add .repos & .metas for different jobs in the repo
EduPonz Apr 14, 2023
4704e60
Refs 17628: Correct path to repos & metas
EduPonz Apr 14, 2023
051df43
Refs 17628: Added on workflow_dispatch trigger.
jsan-rt Jun 19, 2023
82b0453
Refs 17628: Changed installation source and path of OpenSSL
jsan-rt Jun 19, 2023
737d65d
Refs 17628: Remove debug traces
jsan-rt Jun 19, 2023
f8ee25e
Refs 17628: Added missing file
jsan-rt Jun 20, 2023
149cca6
Refs 17628: Modified crash dump upload logic
jsan-rt Jun 20, 2023
e6c2955
Refs 17628: Relocated auxiliary PowerShell script
jsan-rt Jun 20, 2023
f8e9f0d
Refs 17628: Updated add_source_listing script
jsan-rt Jun 20, 2023
8e92bb0
Refs 17628: Fixed number of failures not being properly propagated to…
jsan-rt Jun 20, 2023
da92fdd
Refs 17628: Added list of failed tests to summary
jsan-rt Jun 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/config/coverage.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

{
"names":
{
"fastrtps" :
{
"cmake-args": [
"-DEPROSIMA_BUILD=ON",
"-DINTERNAL_DEBUG=ON",
"-DGTEST_INDIVIDUAL=ON",
"-DFASTRTPS_API_TESTS=ON",
"-DFASTDDS_PIM_API_TESTS=ON",
"-DPERFORMANCE_TESTS=ON",
"-DSECURITY=OFF",
"-DCMAKE_BUILD_TYPE=Debug",
"-DPROFILING_TESTS=ON",
"-DVIDEO_TESTS=ON"
]
},
"googletest-distribution" :
{
"cmake-args" : ["-Dgtest_force_shared_crt=ON"]
}
}
}
17 changes: 17 additions & 0 deletions .github/workflows/config/coverage.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repositories:
fastcdr:
type: git
url: https://github.com/eProsima/Fast-CDR.git
version: master
foonathan_memory_vendor:
type: git
url: https://github.com/eProsima/foonathan_memory_vendor.git
version: master
googletest-distribution:
type: git
url: https://github.com/google/googletest.git
version: release-1.10.0
discovery-server:
type: git
url: https://github.com/eProsima/Discovery-Server.git
version: master
24 changes: 24 additions & 0 deletions .github/workflows/config/default_ci.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"names":
{
"fastrtps" :
{
"cmake-args": [
"-DEPROSIMA_BUILD=ON",
"-DINTERNAL_DEBUG=ON",
"-DGTEST_INDIVIDUAL=ON",
"-DFASTRTPS_API_TESTS=OFF",
"-DFASTDDS_PIM_API_TESTS=ON",
"-DPERFORMANCE_TESTS=ON",
"-DNO_TLS=ON",
"-DMEMORYCHECK_COMMAND_OPTIONS=-q --tool=memcheck --leak-check=yes --show-reachable=yes
--num-callers=50 --log-fd=2 --error-exitcode=1",
"-DMEMORYCHECK_SUPPRESSIONS_FILE=../../src/fastrtps/valgrind.supp"
]
},
"googletest-distribution" :
{
"cmake-args" : ["-Dgtest_force_shared_crt=ON"]
}
}
}
13 changes: 13 additions & 0 deletions .github/workflows/config/default_ci.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repositories:
fastcdr:
type: git
url: https://github.com/eProsima/Fast-CDR.git
version: master
foonathan_memory_vendor:
type: git
url: https://github.com/eProsima/foonathan_memory_vendor.git
version: master
googletest-distribution:
type: git
url: https://github.com/google/googletest.git
version: release-1.11.0
24 changes: 24 additions & 0 deletions .github/workflows/config/nightly.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"names":
{
"fastrtps" :
{
"cmake-args": [
"-DEPROSIMA_BUILD=ON",
"-DINTERNAL_DEBUG=ON",
"-DGTEST_INDIVIDUAL=ON",
"-DFASTRTPS_API_TESTS=OFF",
"-DFASTDDS_PIM_API_TESTS=ON",
"-DPERFORMANCE_TESTS=ON",
"-DNO_TLS=ON",
"-DMEMORYCHECK_COMMAND_OPTIONS=-q --tool=memcheck --leak-check=yes --show-reachable=yes
--num-callers=50 --log-fd=2 --error-exitcode=1",
"-DMEMORYCHECK_SUPPRESSIONS_FILE=../../src/fastrtps/valgrind.supp"
]
},
"googletest-distribution" :
{
"cmake-args" : ["-Dgtest_force_shared_crt=ON"]
}
}
}
13 changes: 13 additions & 0 deletions .github/workflows/config/nightly.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repositories:
fastcdr:
type: git
url: https://github.com/eProsima/Fast-CDR.git
version: master
foonathan_memory_vendor:
type: git
url: https://github.com/eProsima/foonathan_memory_vendor.git
version: master
googletest-distribution:
type: git
url: https://github.com/google/googletest.git
version: release-1.11.0
20 changes: 20 additions & 0 deletions .github/workflows/nightly-windows-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Fast-DDS Windows CI

on:
schedule:
- cron: '0 1 * * *'
jsan-rt marked this conversation as resolved.
Show resolved Hide resolved

jobs:
nightly-sec-windows-ci:
uses: ./.github/workflows/reusable-windows-ci.yml
with:
label: 'nightly-sec-windows-ci'
cmake-args: "-DSECURITY=ON"
ctest-args: "-LE xfail"

nightly-nosec-windows-ci:
uses: ./.github/workflows/reusable-windows-ci.yml
with:
label: 'nightly-nosec-windows-ci'
cmake-args: "-DSECURITY=OFF"
ctest-args: "-LE xfail"
Loading