We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d6afe commit 118a4b7Copy full SHA for 118a4b7
.github/workflows/build.yml
@@ -47,7 +47,7 @@ jobs:
47
sudo snap install zig --classic --beta
48
mkdir -p build
49
# 使用Zig作为工具链编译C++项目
50
- cmake -B build -G Ninja -DCMAKE_C_COMPILER=zig-cc -DCMAKE_CXX_COMPILER=zig-c++ -DCMAKE_BUILD_TYPE=Release -DEMMY_CORE_VERSION=${{env.TAG}}
+ cmake -B build -G Ninja -DCMAKE_C_COMPILER=zig -DCMAKE_C_COMPILER_ARG1=cc -DCMAKE_CXX_COMPILER=zig -DCMAKE_CXX_COMPILER_ARG1=c++ -DCMAKE_BUILD_TYPE=Release -DEMMY_CORE_VERSION=${{env.TAG}}
51
cmake --build build --config Release
52
cmake --install build --config Release --prefix ${{ github.workspace }}/artifact/
53
else
0 commit comments