Skip to content

Commit

Permalink
Create compile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TamirRothschild authored Nov 25, 2023
1 parent 18abd77 commit 4ba5256
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Compile C Code

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up build environment
run: |
sudo apt-get update
sudo apt-get -y install build-essential
- name: Compile C code
run: gcc -o gitready_pre src/gitready.c

- name: Run compiled code
run: ./gitready_pre

0 comments on commit 4ba5256

Please sign in to comment.