Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarWarp committed Sep 16, 2024
1 parent 0088cfe commit 3b52eab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,29 @@ jobs:
steps:
- uses: actions/checkout@v4

# - name: Add clang path to $PATH env
# shell: bash
# if: runner.os == 'Windows'
# run: |
# echo "PATH=$PATH:C:\msys64\mingw64\bin" >> "$GITHUB_ENV"
# clang --version
# cmake --version
- name: Add clang path to $PATH env
shell: bash
if: runner.os == 'Windows'
run: |
echo "PATH=$PATH:C:\msys64\mingw64\bin" >> "$GITHUB_ENV"
echo $GITHUB_ENV
clang --version
cmake --version
- 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.
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
# echo "PATH=$PATH:C:\msys64\mingw64\bin" >> "$GITHUB_ENV"
# clang --version
# cmake --version
- 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: |
echo "PATH=$PATH:C:\msys64\mingw64\bin" >> "$GITHUB_ENV"
cmake -B ${{ steps.strings.outputs.build-output-dir }} \
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}
- name: Build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<a href="https://github.com/StellarWarp/CombinativeClass/actions/workflows/msvc.yml" target="_blank">![msvc](https://github.com/StellarWarp/CombinativeClass/actions/workflows/msvc.yml/badge.svg)</a>
<a href="https://github.com/StellarWarp/CombinativeClass/actions/workflows/clang-cl.yml" target="_blank">![clang_cl](https://github.com/StellarWarp/CombinativeClass/actions/workflows/clang-cl.yml/badge.svg)</a>
<a href="https://github.com/StellarWarp/CombinativeClass/actions/workflows/clang.yml" target="_blank">![clang_cl](https://github.com/StellarWarp/CombinativeClass/actions/workflows/clang.yml/badge.svg)</a>

# Combinative Class

Expand Down

0 comments on commit 3b52eab

Please sign in to comment.