Skip to content

Commit

Permalink
CI: build strand-cam-offline-checkerboards app
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jul 23, 2024
1 parent a4d6921 commit d54f635
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-strand-cam-offline-checkerboards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build strand-cam-offline-checkerboards app

on:
push:
branches: ["**"]
pull_request:
branches: ["**"]

jobs:
strand-cam-offline-checkerboards-ubuntu:
strategy:
matrix:
runs-on: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.runs-on }}
defaults:
run:
working-directory: strand-cam/strand-cam-offline-checkerboards
steps:
- name: install OpenCV
run: |
sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libopencv-dev
- uses: actions/checkout@v4
- name: Build app
run: |
cargo build --release
- name: Show shared libraries required
run: |
ldd ${{ github.workspace }}/target/release/strand-cam-offline-checkerboards
- uses: actions/upload-artifact@v4
with:
name: strand-cam-offline-checkerboards-${{ runner.os }}-${{ matrix.runs-on }}-${{ runner.arch }}
path: ${{ github.workspace }}/target/release/strand-cam-offline-checkerboards

0 comments on commit d54f635

Please sign in to comment.