Skip to content

Commit

Permalink
CI: Set C compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMrARM authored Nov 4, 2023
1 parent d3a2509 commit f2ebcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
echo "TAG_NAME=$(cat CMakeLists.txt | grep -Po '(?<=MODLOADER_VERSION \")[^\"]+')" >> $GITHUB_OUTPUT
id: version
- name: Build
run: mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++-12 -DCMAKE_INSTALL_PREFIX=../sdk/ .. && make && make install && cd ..
run: mkdir build && cd build && cmake -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -DCMAKE_INSTALL_PREFIX=../sdk/ .. && make && make install && cd ..
- name: Pack the SDK and modloader
run: |
mkdir artifacts && cd sdk &&
Expand Down

0 comments on commit f2ebcd7

Please sign in to comment.