-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9f97b1
commit e3a3bf8
Showing
1 changed file
with
9 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
repo_path: src/${{ github.repository }} | ||
python_ver: 3.8.10 | ||
steps: | ||
- name: Check python version and set paths | ||
- name: Set python version paths | ||
# TODO(anyone): remove this step once the setup-ros/action-ros-ci is fixed | ||
# * setup-ros has hardcoded python 3.8, as it is the default version acc. to REP-2000 for jazzy | ||
# * whatever we do here, python 3.12 is selected by action-ros-ci | ||
|
@@ -52,16 +52,20 @@ jobs: | |
Add-Content -Path $env:GITHUB_ENV -Value "Python3_FIND_REGISTRY=NEVER" | ||
Add-Content -Path $env:GITHUB_ENV -Value "PY_PYTHON=3" | ||
Add-Content -Path $env:GITHUB_ENV -Value "PY_PYTHON3=3.8" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.12.7" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.11.9" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.10.11" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.9.13" | ||
- name: Check python version | ||
# TODO(anyone): remove this step once the setup-ros/action-ros-ci is fixed | ||
run: | | ||
python3 --version || true | ||
python --version || true | ||
pip3 --version || true | ||
pip --version || true | ||
C:\Windows\system32\cmd.exe /E:ON /V:OFF /S /C call "C:\Program Files\Git\bin\bash.exe" -c "python3 --version" || true | ||
C:\Windows\system32\cmd.exe /E:ON /V:OFF /S /C call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && & "C:\Program Files\Git\bin\bash.exe" -c "python3 --version" || true | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.12.7" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.11.9" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.10.11" | ||
Remove-Item -Recurse -Force "C:/hostedtoolcache/windows/Python/3.9.13" | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
|