From f63f3493a3bf0ba0102223769616721c84368298 Mon Sep 17 00:00:00 2001 From: gdesmar <75089569+gdesmar@users.noreply.github.com> Date: Thu, 25 Jul 2024 20:08:48 +0000 Subject: [PATCH] Adding github action --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..3208505d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: innoextract CI + +on: [push] + +jobs: + build_and_test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt update + apt install -y build-essential cmake libboost-all-dev liblzma-dev + - name: Build innoextract + run: | + mkdir -p build + cd build + cmake .. + make + - name: Archive artifacts + uses: actions/upload-artifact@v4 + with: + name: innoextract + path: build/innoextract