Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GET-UNKNOWN-ERR0R authored Jul 16, 2024
1 parent f3f1e61 commit d57b7ec
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Compile and Run C++ Calculator

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Compile C++ program
run: g++ -o calculator calculator.cpp

- name: Run the program
run: ./calculator

0 comments on commit d57b7ec

Please sign in to comment.