From 97cd14673e4b8b512a9a67d5eccb1271bc3f91c7 Mon Sep 17 00:00:00 2001 From: Michael Kazakov Date: Sun, 20 Nov 2022 13:48:59 +0000 Subject: [PATCH] CI: debug build comes first --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d65256c..4188e7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,13 +16,6 @@ jobs: run: | cd test-llvm-pstl && ./bootstrap.sh && cd - cd test-msvc-stl && ./bootstrap.sh - - name: Build and run unit tests (Release) - run: | - mkdir build-release - cd build-release - cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. - make -j all pstld-build-llvm-tests pstld-build-msvc-tests pstld-build-custom-tests - make test - name: Build and run unit tests (Debug) run: | mkdir build-debug @@ -30,6 +23,13 @@ jobs: cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug .. make -j all pstld-build-llvm-tests pstld-build-msvc-tests pstld-build-custom-tests make test + - name: Build and run unit tests (Release) + run: | + mkdir build-release + cd build-release + cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. + make -j all pstld-build-llvm-tests pstld-build-msvc-tests pstld-build-custom-tests + make test - name: Build and run unit tests (ASAN) run: | mkdir build-asan