Skip to content

use per default no gpu #153

use per default no gpu

use per default no gpu #153

Workflow file for this run

name: Build Main
on: [push, pull_request]
jobs:
# # Deactivated, because Github runner does not have enough resources to build image
# build_images:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v3
# with:
# submodules: recursive
#
# - name: Logout from any Docker Repository
# run: docker logout
#
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
#
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
#
# - name: Build and push
# uses: docker/build-push-action@v3
# with:
# context: docker/.
# file: docker/Dockerfile
# builder: ${{ steps.buildx.outputs.name }}
# # build on feature branches, push only on main branch
# push: ${{ github.ref == 'refs/heads/main' }}
# tags: rwthika/acdc:latest
# cache-from: type=registry,ref=rwthika/acdc:buildcache
# cache-to: type=registry,ref=rwthika/acdc:buildcache,mode=max
# platforms: linux/amd64,linux/arm64
build_workspace:
runs-on: ubuntu-latest
container:
image: rwthika/acdc:ros2
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Workspace
shell: bash
run: |
source /opt/ros/humble/setup.bash
cd colcon_workspace
colcon build