We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40fa336 commit fd6da74Copy full SHA for fd6da74
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,23 @@
1
+name: Build C++
2
+
3
+on:
4
+ push:
5
+ branches: "**"
6
+ pull_request:
7
+ branches: [ main ]
8
9
+jobs:
10
+ install:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Install dependencies
14
+ run: |
15
+ sudo apt-get update
16
+ sudo apt-get install -y -f build-essential g++ cmake
17
+ build:
18
+ needs: install
19
20
21
+ - uses: actions/checkout@v4
22
+ - name: Build project
23
+ run: g++ -std=c++17 main.cpp
0 commit comments