Skip to content

Commit

Permalink
ci: Add github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojob committed Sep 25, 2024
1 parent a4bba23 commit d45c745
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/build_and_push_images.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker buildx build -t omavteam/radarmeetsvision:latest -f desktop/Dockerfile .
docker buildx build -t omavteam/radarmeetsvision:latest -f desktop/Dockerfile --push .
2 changes: 1 addition & 1 deletion .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
colorlogs
colorlog
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on: pull_request
jobs:
pr_testing:
name: "${{ matrix.ci_script }}"
runs-on: self-hosted
container:
image: omavteam/radarmeetsvision:latest
options: --user 1000:1000
credentials:
username: omavteam
password: ${{ secrets.DOCKER_PASSWORD }}

strategy:
matrix:
ci_script: [pr_unittest]

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Run ${{ matrix.ci_script }}
run: |
bash -x ./ci/${{ matrix.ci_script }}.bash

0 comments on commit d45c745

Please sign in to comment.