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