Skip to content

Commit

Permalink
ci: add flatcc to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Nov 23, 2023
1 parent 4b852f4 commit b0123d3
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: C/C++ CI

on:
push:
branches: [ "master" ]
branches: [ "master", "ci" ]
pull_request:
branches: [ "master" ]

Expand All @@ -13,5 +13,20 @@ jobs:

steps:
- uses: actions/checkout@v3

# Step to install required tools
- name: Install required tools
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build flatbuffers
# Step to clone and build flatcc
- name: Build flatcc
run: |
git clone https://github.com/dvidelabs/flatcc.git
cd flatcc
./scripts/build.sh
cp bin/flatcc /usr/bin
- name: make check
run: make check

0 comments on commit b0123d3

Please sign in to comment.