From 11fa9180e2d63046ac260992fdb1fbe0927df61b Mon Sep 17 00:00:00 2001 From: TCH Date: Tue, 2 Sep 2025 23:53:15 +0200 Subject: [PATCH] CI: add linux ci (#196) --- .github/workflows/{ci.yml => ci-android.yml} | 0 .github/workflows/ci-linux.yml | 36 ++++++++++++++++++++ 2 files changed, 36 insertions(+) rename .github/workflows/{ci.yml => ci-android.yml} (100%) create mode 100644 .github/workflows/ci-linux.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci-android.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/ci-android.yml diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml new file mode 100644 index 0000000..ef4050f --- /dev/null +++ b/.github/workflows/ci-linux.yml @@ -0,0 +1,36 @@ +name: Build LibrePods Linux + +on: + push: + branches: + - '*' + +jobs: + build-linux: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential cmake ninja-build \ + qt6-base-dev qt6-declarative-dev qt6-svg-dev \ + qt6-tools-dev qt6-tools-dev-tools qt6-connectivity-dev \ + libxkbcommon-dev + + - name: Build project + working-directory: linux + run: | + mkdir build + cd build + cmake .. -G Ninja + ninja + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: librepods-linux + path: linux/build/librepods \ No newline at end of file