Skip to content

Put the CMAKE_TOOLCHAIN_FILE in the right place #16

Put the CMAKE_TOOLCHAIN_FILE in the right place

Put the CMAKE_TOOLCHAIN_FILE in the right place #16

Workflow file for this run

name: ci
env:
CTEST_NO_TESTS_ACTION: error
HOMEBREW_NO_INSTALL_CLEANUP: 1
on:
push:
paths:
- "**.c"
- "**.cc"
- "**.cpp"
- "**.h"
- "**/CMakeLists.txt"
- "**.cmake"
- ".github/workflows/ci.yml"
jobs:
core:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install Dependencies
run: |
vcpkg integrate install
vcpkg install
- name: Configure
uses: threeal/[email protected]
with:
generator: Ninja
c-compiler: clang
cxx-compiler: clang++
options: -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
- name: Build
run: cmake --build build
- name: Unit Tests
run: build/iggy_cpp_test