Skip to content

Commit

Permalink
Nightly job
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware committed Oct 2, 2023
1 parent ec85f85 commit 2322e4e
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,20 @@ jobs:
| ls -Include libssl-*.dll | rm
- name: Install ninja
id: ninja
if: !github.event.schedule
shell: pwsh
run: choco install ninja
run: |
choco install ninja
echo "cmake_generator=ninja" >> $GITHUB_OUTPUT
- name: Install ninja
id: test
if: github.event.schedule
shell: pwsh
run: |
choco install ninja
echo "cmake_generator=ninja" >> $GITHUB_OUTPUT
- name: Install swig
shell: pwsh
Expand Down Expand Up @@ -59,7 +71,7 @@ jobs:
}
& $python_exec -m pip install -U pytest pywin32
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: src/fastdds_python

Expand Down Expand Up @@ -103,7 +115,7 @@ jobs:
-StartInPath (pwd) -DevCmdArguments '/arch=x64 /host_arch=x64';
colcon build --executor parallel --event-handlers console_direct+ desktop_notification- `
--metas ./src/fastdds_python/.github/workflows/test.meta `
--mixin rel-with-deb-info ccache ninja
--mixin rel-with-deb-info ccache ${{ steps.ninja.outputs.cmake_generator }} ${{ steps.test.outputs.cmake_generator }}
- name: Run tests
shell: pwsh
Expand All @@ -122,7 +134,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: src/fastdds_python

Expand Down

0 comments on commit 2322e4e

Please sign in to comment.