Skip to content

Commit

Permalink
try direct ros install
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Sep 27, 2023
1 parent aa35dae commit 9633f0a
Showing 1 changed file with 38 additions and 30 deletions.
68 changes: 38 additions & 30 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,30 @@ jobs:
# # Noetic Ninjemys (May 2020 - May 2025)
# - docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-noetic-ros-base-latest
# ros_distribution: noetic
container:
image: ${{ matrix.docker_image }}
# container:
# image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-python@v4
# with:
# python-version: '3.9'
# cache: 'pip'
# - run: pip install opencv-python
with:
python-version: '3.9'
cache: 'pip'
- run: pip install opencv-python
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.arch }}
- name: Check Rosversion
run: |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt install ros-noetic-ros-core
source /opt/ros/noetic/setup.bash
rosversion -d
# - uses: ros-tooling/[email protected]
# with:
# required-ros-distributions: noetic
Expand All @@ -45,30 +58,25 @@ jobs:
# id: action-ros-ci
# with:
# target-ros1-distro: ${{ matrix.ros_distribution }}
- uses: ika-rwth-aachen/[email protected]
with:
base-image: rwthika/ros1:noetic
command: rosversion -d
# - run: rosversion -d
# name: Check Rosversion
# - uses: julia-actions/setup-julia@v1
# with:
# version: ${{ matrix.julia-version }}
# arch: ${{ matrix.arch }}
# - uses: actions/cache@v1
# env:
# cache-name: cache-artifacts
# with:
# path: ~/.julia/artifacts
# key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
# restore-keys: |
# ${{ runner.os }}-test-${{ env.cache-name }}-
# ${{ runner.os }}-test-
# ${{ runner.os }}-
# - uses: julia-actions/julia-buildpkg@latest
# - run: |
# git config --global user.name Tester
# git config --global user.email [email protected]
# - uses: ika-rwth-aachen/[email protected]
# with:
# base-image: rwthika/ros1:noetic
# command: rosversion -d
# - uses: actions/cache@v1
# env:
# cache-name: cache-artifacts
# with:
# path: ~/.julia/artifacts
# key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
# restore-keys: |
# ${{ runner.os }}-test-${{ env.cache-name }}-
# ${{ runner.os }}-test-
# ${{ runner.os }}-
# ----------------
- uses: julia-actions/julia-buildpkg@latest
- run: |
git config --global user.name Tester
git config --global user.email [email protected]
# - uses: julia-actions/julia-runtest@latest
# continue-on-error: ${{ matrix.julia-version == 'nightly' }}
# - uses: julia-actions/julia-processcoverage@v1
Expand Down

0 comments on commit 9633f0a

Please sign in to comment.