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 e630528
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,23 @@ 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" >> $Env:GITHUB_OUTPUT

- name: Install swig
shell: pwsh
run: choco install swig --allow-downgrade --version=4.0.2.04082020

- name: Install python build dependencies
shell: pwsh
run: >
run: |
pip install -U colcon-common-extensions colcon-mixin vcstool;
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml; colcon mixin update default
Expand All @@ -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 e630528

Please sign in to comment.