Skip to content

Update c-cpp.yml

Update c-cpp.yml #3

Workflow file for this run

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
uses: bison-packages/install-bison@v1
- 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