Skip to content

Commit

Permalink
build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
balaji-sivasakthi committed Mar 11, 2024
1 parent 7e96e39 commit d82fa28
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: C/C++ CI
name: Build

on:
push:
branches: [ "main" ]
branches:
- main
pull_request:
branches: [ "main" ]
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

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

- name: Build code
run: make all

- name: Run tests
run: make run

0 comments on commit d82fa28

Please sign in to comment.