Skip to content

Commit

Permalink
Add CI GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Jun 24, 2024
1 parent 87d4173 commit 0347348
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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

0 comments on commit 0347348

Please sign in to comment.