Skip to content

Commit

Permalink
Update cmake-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangYyang authored Jun 15, 2023
1 parent 1597311 commit 4d29406
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
- name: mkdir
run: |
mkdir build
# 配置和构建
- name: cmake
working-directory: "./build"
run: |
cmake . -DMTFMT_RT_USE_MALLOC=ON -DMTFMT_RT_USE_DIV=ON -DMTFMT_RT_USE_STDOUT=ON -DMTFMT_BUILD_SHARED=ON
mkdir build
cd build
cmake .. -DMTFMT_RT_USE_MALLOC=ON -DMTFMT_RT_USE_DIV=ON -DMTFMT_RT_USE_STDOUT=ON -DMTFMT_BUILD_SHARED=ON
cmake --build .
# 打包
- name: Upload artifact
Expand Down

0 comments on commit 4d29406

Please sign in to comment.