mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
add github ci
This commit is contained in:
parent
8ed249982a
commit
65c0c0f311
29
.github/workflows/build.yaml
vendored
Normal file
29
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: CI Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- uos
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- uos
|
||||
|
||||
jobs:
|
||||
archlinux:
|
||||
name: Archlinux Build Check
|
||||
runs-on: ubuntu-latest
|
||||
container: docker.io/library/archlinux:latest
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v2
|
||||
- name: Refresh pacman repository
|
||||
run: pacman -Syy
|
||||
- name: Install build dependencies
|
||||
run: pacman -S --noconfirm base-devel cmake ninja qt5-tools deepin-qt-dbus-factory dtkwidget deepin-network-utils libdbusmenu-qt5 libxcb libxext
|
||||
- name: CMake & Make
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../ -G Ninja
|
||||
ninja
|
Loading…
x
Reference in New Issue
Block a user