Create c-cpp.yml #6
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" , "feature/*"] | ||
pull_request: | ||
branches: [ "main" , "feature/*"] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: setup | ||
run: apt install -y gcc make ruby-rspec-core | ||
- name: Install gems | ||
run: gem install bundle | ||
run: bundle install | ||
- name: make | ||
run: make | ||
- name: make test | ||
run: make test | ||
- name: make clean | ||
run: make clean |