forked from cau-se/DigitalTwinPrototypes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjusted workflows for arm32, arm64, and x64
- Loading branch information
1 parent
f15b665
commit 9c0e578
Showing
15 changed files
with
373 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: PiCar-X Main Build | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: [self-hosted, Linux, X64] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: build core container | ||
working-directory: ./PiCar-X | ||
run: | | ||
TAG=latest docker compose -f docker-compose-core.yml build --no-cache | ||
- name: build dtp containers without gazebo | ||
working-directory: ./PiCar-X | ||
run: | | ||
TAG=latest docker compose -f docker-compose-dtp-no-gazebo.yml build --no-cache | ||
unit-tests: | ||
runs-on: [self-hosted, Linux, X64] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run pytest in Docker container | ||
working-directory: ./PiCar-X | ||
run: | | ||
docker run --rm --name picarx-unittest abarbie/picarx:latest pytest ./src/core/picarx/tests | ||
integration-tests: | ||
runs-on: [self-hosted, Linux, X64] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Start roslaunch in Docker container | ||
working-directory: ./PiCar-X | ||
run: | | ||
docker run --rm --name dcmotor-integration-test -v /sys/class/gpio:/sys/class/gpio -v /dev/i2c-0:/dev/i2c-0 --privileged abarbie/picarx-dcmotor-driver:latest rostest picarx_dcmotor_driver integration_tests.test i2c_port:=/dev/i2c-0 | ||
release: | ||
runs-on: [self-hosted, Linux, X64] | ||
- name: Push to Docker Hub | ||
working-directory: ./PiCar-X | ||
run: | | ||
TAG=latest docker compose -f docker-compose-dtp.yml push |
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
Oops, something went wrong.