Skip to content

Universal test

Universal test #115

name: Universal test
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
#os: [windows-2022, windows-2019, ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-14, macos-13, macos-12]
os: [macos-14]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
vcpkgDirectory: '${{runner.workspace}}/b/vcpkg'
vcpkgGitCommitId: 'efb544d5a580c51f270998d6522c08debb1b5769'
vcpkgJsonGlob: '${{github.workspace}}/compcmake/vcpkg.json'
- name: Configure CMake
working-directory: ${{github.workspace}}/compcmake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${{runner.workspace}}/b/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Test
uses: threeal/[email protected]
with:
test-dir: ${{github.workspace}}/compcmake/build
verbose: true
build-config: Debug