Skip to content

Commit

Permalink
split builds so we can have seperate status badges
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbattle committed May 3, 2022
1 parent a91448a commit 73df2a3
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 52 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker_1604_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "ROS1 Ubuntu 16.04"

on:
push:
branches: [ master, dockerfile ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/
- name: Build Docker
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_16_04 .
23 changes: 23 additions & 0 deletions .github/workflows/docker_1804_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "ROS1 Ubuntu 18.04"

on:
push:
branches: [ master, dockerfile ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/
- name: Build Docker
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_18_04 .
23 changes: 23 additions & 0 deletions .github/workflows/docker_2004_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "ROS1 Ubuntu 20.04"

on:
push:
branches: [ master, dockerfile ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v2
- name: Create Workspace
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
cd $GITHUB_WORKSPACE/.. && mkdir src/ &&
mv $REPO/ src/ && mkdir $REPO/ && mv src/ $REPO/ && cd $REPO/
- name: Build Docker
run: |
export REPO=$(basename $GITHUB_REPOSITORY) &&
docker build -t kalibr -f $GITHUB_WORKSPACE/src/$REPO/Dockerfile_ros1_20_04 .
52 changes: 0 additions & 52 deletions .github/workflows/docker_build.yaml

This file was deleted.

0 comments on commit 73df2a3

Please sign in to comment.