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 6142780
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@ jobs:
| ls -Include libssl-*.dll | rm
- name: Install ninja
if: github.event.schedule == ''
shell: pwsh
run: choco install ninja

- name: Setting ninja
id: ninja
if: github.event.schedule == ''
shell: pwsh
run: echo "cmake_generator=ninja" >> $GITHUB_OUTPUT

- name: Install swig
shell: pwsh
run: choco install swig --allow-downgrade --version=4.0.2.04082020
Expand Down Expand Up @@ -59,7 +66,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 +110,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 }}
- name: Run tests
shell: pwsh
Expand All @@ -122,7 +129,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 6142780

Please sign in to comment.