2021-02-16 12:45:34 +01:00
|
|
|
name: ci-push
|
2021-01-22 22:15:49 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-01-25 01:56:54 +01:00
|
|
|
branches:
|
|
|
|
- calamares
|
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- reopened
|
|
|
|
- synchronize
|
2021-01-22 22:15:49 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
BUILDDIR: /build
|
2021-01-25 01:56:54 +01:00
|
|
|
SRCDIR: ${{ github.workspace }}
|
2021-01-25 00:51:09 +01:00
|
|
|
CMAKE_ARGS: |
|
|
|
|
-DWEBVIEW_FORCE_WEBKIT=1
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2023-09-11 20:46:55 +02:00
|
|
|
-DWITH_PYTHONQT=OFF
|
2021-01-25 01:56:54 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Debug
|
2023-09-28 22:13:23 +02:00
|
|
|
GIT_HASH: ${{ github.event.head_commit.id }}
|
2021-01-22 22:15:49 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: docker://kdeneon/plasma:user
|
2021-01-25 15:54:40 +01:00
|
|
|
options: --tmpfs /build:rw --user 0:0
|
2021-01-22 22:15:49 +01:00
|
|
|
steps:
|
2021-02-01 17:09:50 +01:00
|
|
|
- name: "prepare source"
|
2023-09-28 21:50:35 +02:00
|
|
|
uses: calamares/actions/generic-checkout@v5
|
2023-09-11 20:46:55 +02:00
|
|
|
- name: "install dependencies"
|
|
|
|
shell: bash
|
2023-09-28 22:05:07 +02:00
|
|
|
run: ./ci/deps-neon.sh
|
2021-05-28 17:04:54 +02:00
|
|
|
- name: "build"
|
2023-09-28 22:13:23 +02:00
|
|
|
shell: bash
|
|
|
|
run: ./ci/build.sh
|