-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sguequierre-patch-1
- Loading branch information
Showing
21 changed files
with
568 additions
and
194 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 was deleted.
Oops, something went wrong.
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,51 @@ | ||
name: Test pull request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
paths-ignore: | ||
- 'README.md' | ||
- 'docs/**' | ||
|
||
jobs: | ||
test-package: | ||
name: Build/Test appimage | ||
runs-on: buildjet-2vcpu-ubuntu-2204-arm | ||
strategy: | ||
matrix: | ||
include: | ||
- container: ghcr.io/seanavery/viam-cpp-base:0.0.2 | ||
TARGET: jetson | ||
- container: ghcr.io/seanavery/viam-cpp-base-pi:0.0.2 | ||
TARGET: pi | ||
container: | ||
image: ${{ matrix.container }} | ||
options: --platform linux/arm64 | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set TARGET environment variable | ||
run: echo "TARGET=${{ matrix.TARGET }}" >> $GITHUB_ENV | ||
|
||
- name: Clean build artifacts | ||
run: make clean | ||
|
||
- name: Install module dependencies | ||
run: make dep | ||
|
||
- name: Build viam-csi binary | ||
run: make build | ||
|
||
- name: Build viam-csi appimage | ||
run: make package | ||
|
||
- name: Copy binary and appimage to bin folder | ||
run: make bin | ||
|
||
- name: Run appimage in fresh instance | ||
run: | | ||
make image-test | ||
make test-package |
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.