From b936eb586ecc56bdc888851b663e92e47943c732 Mon Sep 17 00:00:00 2001 From: Alex Charles Date: Sun, 25 Feb 2024 15:26:13 -0600 Subject: [PATCH] formatting --- .github/workflows/cmake-single-platform.yml | 31 ++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 7c3aca7..f6dc998 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -35,7 +35,6 @@ jobs: install: >- make git - mingw-w64-x86_64-qt6-tools pacboy: >- cmake:p gtest:p @@ -49,25 +48,25 @@ jobs: nsis:p libb2:p - - run: git config --global core.autocrlf input - - uses: actions/checkout@v3 + - run: git config --global core.autocrlf input + - uses: actions/checkout@v3 - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B build -G "${{env.CMAKE_GENERATOR}}" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B build -G "${{env.CMAKE_GENERATOR}}" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - - name: Build - run: cmake --build build + - name: Build + run: cmake --build build - - name: Run unit tests - run: build/fl_test + - name: Run unit tests + run: build/fl_test - - name: Build zip - run: | - cd build - export SHARED_LIB_DIR=/mingw64/bin - cpack -G ZIP + - name: Build zip + run: | + cd build + export SHARED_LIB_DIR=/mingw64/bin + cpack -G ZIP # - name: Prepare artifact # run: |