From 2dfd3688ca04f7b234acacd9c2286776636b31f6 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 22 Jan 2024 19:47:09 +0100 Subject: [PATCH] CI: try a weekly build of core and extensions --- .github/workflows/weekly-opensuse.yml | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/weekly-opensuse.yml diff --git a/.github/workflows/weekly-opensuse.yml b/.github/workflows/weekly-opensuse.yml new file mode 100644 index 000000000..41b0dec7c --- /dev/null +++ b/.github/workflows/weekly-opensuse.yml @@ -0,0 +1,42 @@ +name: nightly-opensuse + +on: + schedule: + - cron: "32 11 * * tuesday" + workflow_dispatch: + +env: + BUILDDIR: /build + SRCDIR: ${{ github.workspace }} + CMAKE_ARGS: | + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + -DCMAKE_BUILD_TYPE=Debug + -DBUILD_SCHEMA_TESTING=ON + -DBUILD_TESTING=ON + -DBUILD_APPSTREAM=ON + -DBUILD_APPDATA=ON + +jobs: + build: + runs-on: ubuntu-latest + container: + image: docker://opensuse/tumbleweed + options: --tmpfs /build:rw --user 0:0 + steps: + - name: "prepare git" + shell: bash + run: zypper --non-interactive in git-core jq curl + - name: "prepare source" + uses: calamares/actions/generic-checkout@v5 + - name: "install dependencies" + shell: bash + run: ./ci/deps-opensuse.sh + - name: "build" + shell: bash + run: ./ci/build.sh + - name: "prepare source (extensions)" + shell: bash + run: git clone https://github.com/calamares/calamares-extensions.git + - name: "build (extensions)" + shell: bash + run: BUILDDIR=/build/extensions SRCDIR=${SRCDIR}/calamares-extensions ./ci/build.sh