-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 1007 Bytes
/
ci_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI Build
'on':
workflow_call: null
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Cargo build
uses: devcontainers/[email protected]
with:
cacheFrom: ghcr.io/vorausrobotik/voraus-ros-bridge-dev
runCmd: cargo ament-build --install-base install/voraus-ros-bridge -- --release --verbose
push: never
- name: Verify no build induced changes in Cargo.lock
run: git diff && git diff --quiet -- Cargo.lock
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ros-binaries
path: |
install/voraus-ros-bridge
voraus_interfaces/install/voraus_interfaces