Skip to content

First Implementation CI #1

First Implementation CI

First Implementation CI #1

Workflow file for this run

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"