Skip to content

deps

deps #188

Workflow file for this run

---
jobs:
job:
name: "${{ matrix.os }}-hosted-basic"
runs-on: "${{ matrix.os }}"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
steps:
-
uses: actions/checkout@master
with:
submodules: true
-
uses: lukka/get-cmake@latest
-
name: "Restore from cache and run vcpkg"
uses: lukka/run-vcpkg@v3
with:
appendedCacheKey: "${{ hashFiles(env.vcpkgResponseFile) }}"
vcpkgArguments: '${{ matrix.vcpkgPackages }}'
vcpkgTriplet: '${{ matrix.triplet }}'
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
vcpkgGitCommitId: '${{ matrix.vcpkgCommitId }}'
-
name: "Build with CMake and Ninja"
uses: lukka/run-cmake@v2
with:
buildDirectory: "${{ runner.workspace }}/b/ninja"
cmakeAppendedArgs: "-GNinja Multi-Config -DCAPSTOMP_HAVE_MY_BOOL=OFF -DCAPSTOMP_STATIC_LIBEVENT=ON"
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: "${{ github.workspace }}/CMakeLists.txt"
useVcpkgToolchainFile: true
strategy:
fail-fast: false
matrix:
include:
-
os: ubuntu-latest
triplet: x64-linux
vcpkgCommitId: 2fbd692f56c2a94f1805320a4abf2d366f116cc0
vcpkgPackages: libevent
os:
- ubuntu-latest
name: linux
on: [push]