From 0f69977763d5f3fcca254ad70c05d5a25d3161ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Benko?= Date: Fri, 15 Mar 2024 22:42:35 +0100 Subject: [PATCH] CI: add build Linux library/binary workflow --- .github/workflows/build_linux.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build_linux.yml diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml new file mode 100644 index 0000000..62fe244 --- /dev/null +++ b/.github/workflows/build_linux.yml @@ -0,0 +1,25 @@ +name: Build Linux library and binaries + +on: + push: + branches: ["*"] + +jobs: + build_linux: + runs-on: ubuntu-latest + steps: + + - name: Install dependencies + run: sudo apt update && sudo apt-get install -y git make cmake + + - name: Checkout + uses: actions/checkout@v3 + + - name: Configure + run: cd linux && mkdir build && cd build && cmake .. + + - name: Build + run: cd linux/build && make + + - name: Install to system + run: cd linux/build && sudo make install