Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gwiazdorrr committed Jan 3, 2024
1 parent 5418aa2 commit f30a2ed
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/actions/cmake-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,10 @@ runs:
uses: lukka/run-cmake@v10
id: runcmake
with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
vcpkgTriplet: ${{ inputs.triplet }}
useVcpkgToolchainFile: true
buildDirectory: '${{ inputs.buildDir }}/'
cmakeAppendedArgs: '-G "${{ inputs.generator }}" -DCMAKE_BUILD_TYPE=${{ inputs.buildType }} -DCMAKE_CXX_FLAGS="${{ inputs.cxxFlags }}" -DBUILD_SAMPLES=ON -DBUILD_SAMPLES_SIMD=ON -DBUILD_TESTS=ON ${{ inputs.cmakeArgs }}'
buildWithCMakeArgs: '--config ${{ inputs.buildType }}'
cmakeListsTxtPath: '${{ github.workspace }}/cmakepresets/CMakeLists.txt'
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-multi-vcpkg'
buildPresetAdditionalArgs: '[`--config Release`]'

- name: Test with CTest
shell: pwsh
Expand Down

0 comments on commit f30a2ed

Please sign in to comment.