diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 000000000..7ee49a49c --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,46 @@ +name: C/C++ CI + +on: [push] + +jobs: + build-linux: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + - name: apt + run: sudo apt update && sudo apt install bison flex ninja-build + - name: make + run: make + + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: brew + run: brew install ninja + - name: make + run: make + +name: C/C++ CI + +on: [push] + +jobs: + build-linux: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + - name: apt + run: sudo apt update && sudo apt install bison flex ninja-build + - name: make + run: make + + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: brew + run: brew install ninja + - name: make + run: make +