Update README.md #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'Install Bison' | |
run: sudo apt 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 |