2021-02-16 14:25:10 +01:00
|
|
|
name: nightly-neon
|
2021-02-01 23:15:15 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2021-02-16 12:45:34 +01:00
|
|
|
- cron: "52 23 * * *"
|
2021-02-02 00:33:01 +01:00
|
|
|
workflow_dispatch:
|
2021-02-01 23:15:15 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
BUILDDIR: /build
|
|
|
|
SRCDIR: ${{ github.workspace }}
|
|
|
|
CMAKE_ARGS: |
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
|
|
-DCMAKE_BUILD_TYPE=Debug
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2021-02-16 12:45:34 +01:00
|
|
|
image: docker://kdeneon/plasma:user
|
2021-02-01 23:15:15 +01:00
|
|
|
options: --tmpfs /build:rw --user 0:0
|
|
|
|
steps:
|
|
|
|
- name: "prepare env"
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/prepare-neon@v4
|
2021-02-01 23:15:15 +01:00
|
|
|
- name: "prepare source"
|
2022-04-17 13:24:59 +02:00
|
|
|
uses: calamares/actions/generic-checkout@v4
|
2021-05-28 17:38:30 +02:00
|
|
|
- name: "build"
|
|
|
|
id: build
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/generic-build@v4
|
2021-02-01 23:15:15 +01:00
|
|
|
- name: "notify: ok"
|
|
|
|
if: ${{ success() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-02-01 23:15:15 +01:00
|
|
|
with:
|
2021-05-25 16:27:12 +02:00
|
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
2022-04-25 15:28:35 +02:00
|
|
|
message: |
|
|
|
|
OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}
|
2021-02-01 23:15:15 +01:00
|
|
|
- name: "notify: fail"
|
|
|
|
if: ${{ failure() && github.repository == 'calamares/calamares' }}
|
2022-04-16 21:53:17 +02:00
|
|
|
uses: calamares/actions/matrix-notify@v4
|
2021-02-01 23:15:15 +01:00
|
|
|
with:
|
2021-05-25 16:27:12 +02:00
|
|
|
token: ${{ secrets.MATRIX_TOKEN }}
|
|
|
|
room: ${{ secrets.MATRIX_ROOM }}
|
2022-04-25 15:28:35 +02:00
|
|
|
message: |
|
|
|
|
FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.build.outputs.git-summary }}
|
|
|
|
- name: "Calamares: archive"
|
|
|
|
working-directory: ${{ env.BUILDDIR }}
|
|
|
|
run: |
|
|
|
|
make install DESTDIR=${{ env.BUILDDIR }}/stage
|
|
|
|
tar czf calamares.tar.gz stage
|
|
|
|
- name: "Calamares: upload"
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: calamares-tarball
|
|
|
|
path: ${{ env.BUILDDIR }}/calamares.tar.gz
|
|
|
|
if-no-files-found: error
|
|
|
|
retention-days: 7
|