Skip to content

release 0.12.0-alpha.7 #146

release 0.12.0-alpha.7

release 0.12.0-alpha.7 #146

name: Build apriltag-track-movie app
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
apriltag-track-movie-ubuntu:
strategy:
matrix:
runs-on: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.runs-on }}
defaults:
run:
working-directory: apriltag/apriltag-track-movie
steps:
- uses: actions/checkout@v4
- name: Build app
run: |
cargo build --release
- name: Show shared libraries required
run: |
ldd ${{ github.workspace }}/target/release/apriltag-track-movie
- uses: actions/upload-artifact@v4
with:
name: apriltag-track-movie-${{ runner.os }}-${{ matrix.runs-on }}-${{ runner.arch }}
path: ${{ github.workspace }}/target/release/apriltag-track-movie
apriltag-track-movie-windows:
runs-on: windows-latest
defaults:
run:
working-directory: apriltag/apriltag-track-movie
steps:
- uses: actions/checkout@v4
- name: Install pthread
uses: lukka/run-vcpkg@v7
id: vcpkg
with:
vcpkgArguments: 'pthread'
vcpkgTriplet: 'x64-windows-static'
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
vcpkgGitCommitId: '57bd7102d9fd880daa1b0958692294c4a125f6d8'
- name: Build app
env:
APRILTAG_SYS_WINDOWS_PTHREAD_INCLUDE_DIR: '${{steps.vcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT}}\installed\x64-windows-static\include'
APRILTAG_SYS_WINDOWS_PTHREAD_STATIC_LIB: '${{steps.vcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT}}\installed\x64-windows-static\lib\pthreadVC3.lib'
run: |
cargo build --release
- uses: actions/upload-artifact@v4
with:
name: apriltag-track-movie-${{ runner.os }}-${{ runner.arch }}
path: ${{ github.workspace }}/target/release/apriltag-track-movie.exe