Skip to content

Commit

Permalink
Only update mmap_rnd_bits in Linux runners (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <[email protected]>
  • Loading branch information
EduPonz authored Mar 19, 2024
1 parent 803bc13 commit 8efa961
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ubuntu/colcon_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ runs:
run: |
# https://github.com/actions/runner-images/issues/9491
sudo sysctl vm.mmap_rnd_bits=28
if [[ ${RUNNER_OS} == "Linux" ]]
then
sudo sysctl vm.mmap_rnd_bits=28
fi
echo "::group::Compile using colcon ${{ inputs.workspace }}"
Expand Down

0 comments on commit 8efa961

Please sign in to comment.