Skip to content

Add CI GitHub action #1

Add CI GitHub action

Add CI GitHub action #1

Workflow file for this run

name: C Build and Test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential make perl default-jre
- name: Verify installations
run: |
make --version
perl --version
java -version
- name: Compile the project
run: make
- name: Run tests
run: make test