Skip to content

Commit c163cff

Browse files
committed
new g++ action on workflow
1 parent 3488003 commit c163cff

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
name: Basic workflow
1+
name: Compile c++
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
push
75

86
jobs:
97
basic-job:
108
runs-on: ubuntu-latest
119
steps:
12-
- name: Hello world
13-
run: echo "Hello, world!"
10+
- name: Clone the repo
11+
uses: actions/checkout@v4
12+
13+
- name: Install g++
14+
run: sudo apt install gcc
15+
16+
- name: Compile the file
17+
run: g++ file.cpp

0 commit comments

Comments
 (0)