From 65c0c0f311ffb408e4af62af541aeb01fdbd2f3e Mon Sep 17 00:00:00 2001 From: "Zhang, DingYuan" Date: Tue, 28 Jul 2020 13:46:38 +0800 Subject: [PATCH] add github ci --- .github/workflows/build.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 000000000..4a6c357e9 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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