-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nightly builds to compile on Ubuntu 24 (#112)
* Add Ubuntu 24.04 and remove Ubuntu 22.04 to fastdds build Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Update all actions to target current branch Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Add python virtual env Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Add setup_python_venv github action Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Extract virtual env from action Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Updagrade setup tools Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Add Ubuntu 24 CI to ddspipe and dev-utils builds Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Update ddspipe build to Ubuntu 24 Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Restore references to main Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Apply changes from review Signed-off-by: Raúl <[email protected]> * Temporal commit to test the actions in this branch Signed-off-by: Raúl <[email protected]> * Add inputs to setup_python_venv action Signed-off-by: Raúl <[email protected]> * Integrate setup python venv into install python packages action Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Update README Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Set action branches back to main Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Remove action for Windows OS Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Set python3 and pip3 explicitly in python action Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Set action branches back to current branch Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Use pip module Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Update artifact names Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Set action branches back to main Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Update versions.md Signed-off-by: Raul Sanchez-Mateos <[email protected]> * Add new ubuntu action description to versions.md Signed-off-by: Raul Sanchez-Mateos <[email protected]> --------- Signed-off-by: Raul Sanchez-Mateos <[email protected]> Signed-off-by: Raúl <[email protected]>
- Loading branch information
1 parent
1ca2a9c
commit b31bb51
Showing
9 changed files
with
114 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 'setup_python_venv' | ||
description: 'Setup a Python virtual environment and add it to the PATH' | ||
|
||
inputs: | ||
|
||
path: | ||
description: 'Path to virtual environment' | ||
required: false | ||
default: '.venv' | ||
|
||
activate_global: | ||
description: 'Activate the virtual environment globally' | ||
required: false | ||
default: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
|
||
- name: 'setup_python_venv' | ||
run: | | ||
echo "::group::Setup Python virtual environment" | ||
# Create a virtual environment | ||
python3 -m venv ${{ inputs.path }} | ||
source .venv/bin/activate | ||
if [ "${{ inputs.activate_global }}" = "true" ]; then | ||
echo PATH=$PATH >> $GITHUB_ENV | ||
fi | ||
echo "::endgroup::" | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters