mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Tweak how CMake is run in CI
This commit is contained in:
@@ -63,10 +63,11 @@ jobs:
|
||||
|
||||
- name: Run CMake
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" -DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}"
|
||||
make all
|
||||
cmake \
|
||||
-DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" \
|
||||
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" \
|
||||
-B build
|
||||
cmake --build build
|
||||
|
||||
- name: Run tests
|
||||
run: ctest --test-dir build --output-on-failure
|
||||
@@ -157,10 +158,12 @@ jobs:
|
||||
|
||||
- name: Run CMake
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -G "Visual Studio 16 2019" -A ${{ matrix.platform }} -DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" -DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}"
|
||||
cmake --build . --config ${{ env.MSVC_CONFIG }}
|
||||
cmake -G "Visual Studio 16 2019" `
|
||||
-A ${{ matrix.platform }} `
|
||||
-DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" `
|
||||
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" `
|
||||
-B build
|
||||
cmake --build build --config ${{ env.MSVC_CONFIG }}
|
||||
|
||||
- name: Run tests
|
||||
run: ctest --test-dir build --build-config ${{ env.MSVC_CONFIG }} --output-on-failure
|
||||
|
||||
@@ -73,10 +73,12 @@ jobs:
|
||||
|
||||
- name: Run CMake
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -G "Visual Studio 16 2019" -A ${{ matrix.platform }} -DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" -DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}"
|
||||
cmake --build . --config ${{ env.MSVC_CONFIG }}
|
||||
cmake -G "Visual Studio 16 2019" `
|
||||
-A ${{ matrix.platform }} `
|
||||
-DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" `
|
||||
-DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}" `
|
||||
-B build
|
||||
cmake --build build --config ${{ env.MSVC_CONFIG }}
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user