Skip to content

Commit

Permalink
First Implementation CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KandelN committed Feb 7, 2025
1 parent 91b6027 commit 11816b4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: C Project Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential

- name: Find and Compile C Code
run: |
find . -type f -name "*.c" ! -path "*/screenshots/*" -exec gcc -o {}.out {} \;
- name: List Compiled Files
run: find . -type f -name "*.out"

0 comments on commit 11816b4

Please sign in to comment.