Skip to content

Commit

Permalink
Create c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcl authored Aug 5, 2024
1 parent b65dde8 commit 1988b6c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: C/C++ CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: Install Bison
- name: 'Create env file'
run: |
touch .env
echo cc="gcc" >> .env
echo bc="bison >> .env
cat .env
- name: make
run: make
- name: test
run: ./main programs/1.2.6.a

0 comments on commit 1988b6c

Please sign in to comment.