Skip to content

Commit

Permalink
clean up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleiAlma committed Jul 22, 2024
1 parent 9461e55 commit dba9749
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false
fail-fast: true

# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
Expand All @@ -25,7 +25,8 @@ jobs:
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-24.04, windows-latest, macos-13]
build_type: [Release, RelWithDebInfo, Debug]
# build_type: [Release, RelWithDebInfo, Debug]
build_type: [Release]
# c_compiler: [gcc, clang, cl]
# c_compiler: [clang, MSVC]
# include:
Expand Down Expand Up @@ -70,11 +71,6 @@ jobs:
key: ${{ runner.os }}-cpm-${{ hashFiles('**/') }}
restore-keys: |
${{ runner.os }}-cpm-
# path: |
# ${{ github.workspace }}/build/_deps
# key: cache-cpp-all
# restore-keys: |
# cache-cpp-all
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
Expand Down Expand Up @@ -126,16 +122,6 @@ jobs:
cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG
if: ${{ runner.os == 'macOS' }}

# - name: Build
# # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target LuaSTG

# - name: Test
# working-directory: ${{ steps.strings.outputs.build-output-dir }}
# # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
# run: ctest --build-config ${{ matrix.build_type }}

- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit dba9749

Please sign in to comment.