mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-10 19:52:24 +00:00
CI: add linux ci (#196)
This commit is contained in:
36
.github/workflows/ci-linux.yml
vendored
Normal file
36
.github/workflows/ci-linux.yml
vendored
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user