Skip to content

Commit

Permalink
Create compile-run.yml (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwsung91 authored Jan 18, 2025
1 parent f393e57 commit d10955e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/compile-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Compile and Run

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install -y g++

- name: Compile and Run
run: |
g++ main.cpp -o main
./main

0 comments on commit d10955e

Please sign in to comment.