Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
biscuitcakes committed Feb 25, 2024
1 parent c22de4b commit b936eb5
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
install: >-
make
git
mingw-w64-x86_64-qt6-tools
pacboy: >-
cmake:p
gtest:p
Expand All @@ -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: |
Expand Down

0 comments on commit b936eb5

Please sign in to comment.