From 5d57721898a8dfb28f59a15ef7db6c4cc5df482b Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Wed, 28 Aug 2024 09:34:27 +0800 Subject: [PATCH] Revert "use presets in CI" This reverts commit 114df44ace464827b83115223cec16c02e125167. --- .github/workflows/trajoptlib-cpp.yml | 2 +- .github/workflows/trajoptlib-sanitizers.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trajoptlib-cpp.yml b/.github/workflows/trajoptlib-cpp.yml index 65876af490..885f7ed248 100644 --- a/.github/workflows/trajoptlib-cpp.yml +++ b/.github/workflows/trajoptlib-cpp.yml @@ -43,7 +43,7 @@ jobs: - run: sudo xcode-select -switch /Applications/Xcode_15.3.app if: startsWith(matrix.os, 'macOS') - - run: cmake --preset with-examples ${{ matrix.cmake-args }} + - run: cmake -B build -S . -DBUILD_EXAMPLES=ON ${{ matrix.cmake-args }} working-directory: trajoptlib - run: cmake --build build --config RelWithDebInfo --parallel 4 working-directory: trajoptlib diff --git a/.github/workflows/trajoptlib-sanitizers.yml b/.github/workflows/trajoptlib-sanitizers.yml index bfe65316ed..4e45f74119 100644 --- a/.github/workflows/trajoptlib-sanitizers.yml +++ b/.github/workflows/trajoptlib-sanitizers.yml @@ -31,7 +31,7 @@ jobs: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 200 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 200 - - run: cmake --preset with-examples ${{ matrix.cmake-args }} + - run: cmake -B build -S . -DBUILD_EXAMPLES=ON ${{ matrix.cmake-args }} working-directory: trajoptlib - run: cmake --build build --config RelWithDebInfo --parallel $(nproc) working-directory: trajoptlib