Skip to content

Add vcpkg recipe, CI and conda-forge-based CI #4

Add vcpkg recipe, CI and conda-forge-based CI

Add vcpkg recipe, CI and conda-forge-based CI #4

name: ci-vcpkg-installation-smoke-test
on:
push:
pull_request:
jobs:
build:
name: '[${{ matrix.vcpkg_version }}]'
strategy:
fail-fast: false
matrix:
vcpkg_version:
- master
- 2023.12.12
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Run on latest vcpkg
shell: bash
run: |
mkdir C:/vcpkg-test
git clone https://github.com/microsoft/vcpkg C:/vcpkg-test/vcpkg
cd C:/vcpkg-test/vcpkg
git checkout ${{ matrix.vcpkg_version }}
C:/vcpkg-test/vcpkg/bootstrap-vcpkg.sh
C:/vcpkg-test/vcpkg/vcpkg.exe --overlay-ports=${GITHUB_WORKSPACE} install --triplet x64-windows depthai-core
# Try to install another library to check if the installation is ok
C:/vcpkg-test/vcpkg/vcpkg.exe install --triplet x64-windows asio