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 3ba459c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 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,21 @@ 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-compiler
# Step to clone and build flatcc
- name: Build flatcc
run: |
git clone https://github.com/dvidelabs/flatcc.git
cd flatcc
git checkout tags/0.6.1
./scripts/build.sh
sudo cp bin/flatcc /usr/bin
- name: make check
run: make check

0 comments on commit 3ba459c

Please sign in to comment.