Skip to content

Commit 7e691a2

Browse files
authored
Update c-cpp.yml
1 parent 0dcf92d commit 7e691a2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/c-cpp.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- uses: actions/checkout@v4
16-
- name: configure
17-
run: ./configure
18-
- name: make
19-
run: make
20-
- name: make check
21-
run: make check
22-
- name: make distcheck
23-
run: make distcheck
15+
16+
- name: Install dependencies
17+
run: sudo apt-get install -y g++
18+
19+
- name: Compile
20+
run: g++ -o output_file main.cpp
21+
22+
- name: Run Program (Optional)
23+
run: ./output_file

0 commit comments

Comments
 (0)