Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
先直接用g++编译
Browse files Browse the repository at this point in the history
  • Loading branch information
frankwang98 committed Jan 16, 2024
1 parent dee2f43 commit de7d238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y g++ # 设置 C++ 编译环境

- name: Build
run: make # 执行编译命令
run: g++ main.cpp -o main # 执行编译命令

- name: Test
run: ./main # run

0 comments on commit de7d238

Please sign in to comment.