Skip to content

Commit

Permalink
Update and rename c-cpp.yml to c-test-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmerja authored Jun 2, 2024
1 parent c589fa9 commit ce4b48f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/c-cpp.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/c-test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: C Build and Test

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

jobs:
build:
runs-on: ubuntu-latest

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

- name: Install GCC
run: sudo apt-get install gcc

- name: Build Project
run: gcc -o neural_network main.c -lm
# Replace the above command with your actual build command, or use make if you have a Makefile:
# run: make

- name: Run Tests
run: ./neural_network
# Add any commands here to run your tests, such as:
# run: make test

0 comments on commit ce4b48f

Please sign in to comment.