Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/myworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
install:
runs-on: ubuntu-latest
steps:
- name: install dependencies
run: |
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y -f build-essential g++ cmake

build:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build project
run: g++ main.cpp -o test.o
- uses: actions/checkout@v3
- name: Build project
run: g++ main.cpp -std=c++17 -o firstIO
2 changes: 1 addition & 1 deletion man.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ using namespace std;
int main()
{
cout << "Hello world!";
return 0;
return 0
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![Build C++](https://github.com/murthy-001/practice2/actions/workflows/myworkflow.yml/badge.svg)](https://github.com/murthy-001/practice2/actions/workflows/myworkflow.yml)