c-cpp.yml (796B)
1 name: C/C++ CI 2 3 on: 4 push: 5 branches: [ "master", "ci" ] 6 pull_request: 7 branches: [ "master" ] 8 9 jobs: 10 build: 11 12 runs-on: ubuntu-latest 13 14 steps: 15 - uses: actions/checkout@v3 16 17 # Step to install required tools 18 - name: Install required tools 19 run: | 20 sudo apt-get update 21 sudo apt-get install -y build-essential git cmake ninja-build #flatbuffers-compiler 22 23 # Step to clone and build flatcc 24 #- name: Build flatcc 25 # run: | 26 # git clone https://github.com/dvidelabs/flatcc.git 27 # cd flatcc 28 # git checkout v0.6.1 29 # ./scripts/build.sh 30 # sudo cp bin/flatcc /usr/bin 31 32 #- name: flatc version 33 # run: flatc --version 34 35 - name: make all 36 run: make 37 38 - name: make check 39 run: make check