Skip to content

Commit 8d601b0

Browse files
committed
perf: workflow 업데이트
1 parent 68e1eaa commit 8d601b0

30 files changed

+44
-6
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,28 @@ jobs:
3030
- name: Install dependencies (macOS)
3131
if: matrix.os == 'macos-latest'
3232
run: |
33-
brew install cmake
33+
# Homebrew 업데이트
34+
brew update
35+
# CMake가 이미 설치되어 있는지 확인하고, 없을 때만 설치
36+
if ! command -v cmake &> /dev/null; then
37+
brew install cmake
38+
else
39+
echo "CMake is already installed: $(cmake --version)"
40+
fi
41+
# 빌드 도구 확인
42+
echo "Available compilers:"
43+
which gcc || echo "gcc not found"
44+
which clang || echo "clang not found"
3445
3546
- name: Install dependencies (Windows)
3647
if: matrix.os == 'windows-latest'
3748
run: |
3849
choco install cmake
3950
4051
- name: Configure CMake
41-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
52+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug
4253

4354
- name: Build
44-
run: cmake --build ${{github.workspace}}/build --config Release
55+
run: cmake --build ${{github.workspace}}/build --config Debug
4556

46-
- name: Test
47-
working-directory: ${{github.workspace}}/build
48-
run: ctest -C Release --output-on-failure
57+

src/problem_manager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ class ProblemManager {
2020

2121

2222

23+

src/problems/problem_1000.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ void solve_problem_1000() {
1717

1818

1919

20+

src/problems/problem_1000.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ void solve_problem_1000();
88

99

1010

11+

src/problems/problem_1001.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ void solve_problem_1001() {
1717

1818

1919

20+

src/problems/problem_1001.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ void solve_problem_1001();
88

99

1010

11+

src/problems/problem_10950.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ void solve_problem_10950() {
2323

2424

2525

26+

src/problems/problem_10950.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ void solve_problem_10950();
88

99

1010

11+

src/problems/problem_10952.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ void solve_problem_10952() {
2424

2525

2626

27+

src/problems/problem_10952.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ void solve_problem_10952();
88

99

1010

11+

0 commit comments

Comments
 (0)