Build and Install are in the same command

This commit is contained in:
sethg 2022-09-27 11:01:35 +02:00
commit 1d47e11da9

View file

@ -31,7 +31,7 @@ jobs:
nuget install Bison -Version 3.7.4 -OutputDirectory C:\Tools\bison
nuget install PCRE2 -Version 10.39 -OutputDirectory C:\Tools\pcre2
- name: Build
- name: Build and Install
shell: powershell
run: |
$env:PATH="C:\Tools\CMake\CMake-win64.3.15.5\bin;C:\Tools\bison\Bison.3.7.4\bin;" + $env:PATH
@ -45,10 +45,6 @@ jobs:
-DPCRE2_INCLUDE_DIR="$PCRE_ROOT/include" `
-DPCRE2_LIBRARY="$PCRE_ROOT/lib/pcre2-8-static.lib" `
-S . -B build
- name: Install
shell: powershell
run: |
cmake --build build --config Release --target install
- name: Test