Fix Dockerfile copying executable (#4699) #1153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get latest CMake | |
# Using 'latest' branch, the latest CMake is installed. | |
uses: lukka/get-cmake@latest | |
- name: Run vcpkg | |
uses: lukka/run-vcpkg@v11 | |
- name: Build with CMake | |
uses: lukka/run-cmake@v10 | |
with: | |
buildPreset: vcpkg | |
buildPresetAdditionalArgs: "['--config', 'Debug']" | |
configurePreset: vcpkg | |
configurePresetAdditionalArgs: "['-DBUILD_TESTING=ON']" | |
testPreset: vcpkg | |
testPresetAdditionalArgs: "['--build-config', 'Debug']" |