commit b20c1fa41dfe7b3b164fa03987b810247fadea7f parent 4b852f4362cfe7dd8b06cd9b6fbba4e11658ea32 Author: William Casarin <jb55@jb55.com> Date: Thu, 23 Nov 2023 13:32:31 -0800 ci: add flatcc to github action Diffstat:
M | .github/workflows/c-cpp.yml | | | 18 | +++++++++++++++++- |
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml @@ -2,7 +2,7 @@ name: C/C++ CI on: push: - branches: [ "master" ] + branches: [ "master", "ci" ] pull_request: branches: [ "master" ] @@ -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 v0.6.1 + ./scripts/build.sh + sudo cp bin/flatcc /usr/bin + - name: make check run: make check