mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-24 14:34:18 +02:00
Merge branch 'feature/development-environment-quick-install' into development
This commit is contained in:
commit
3cfb18f481
18 changed files with 408 additions and 54 deletions
27
test/check-artefacts
Normal file
27
test/check-artefacts
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#! /bin/sh
|
||||
# Copyright 2023, project-repo and the cagebreak contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
RESULT=0
|
||||
|
||||
readonly version="${1}"
|
||||
|
||||
# shellcheck disable=SC2164
|
||||
cd "${MESONCURRENTCONFIGDIR}"
|
||||
|
||||
gpg --verify "release_${version}.tar.gz.sig" || RESULT=1
|
||||
gpg --verify "release-artefacts_${version}.tar.gz.sig" || RESULT=1
|
||||
|
||||
tar -xvf "release_${version}.tar.gz"
|
||||
cd cagebreak || RESULT=1 && exit 1
|
||||
meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release
|
||||
ninja -C build
|
||||
gpg --verify ../signatures/cagebreak.sig build/cagebreak || RESULT=1
|
||||
gpg --verify ../signatures/cagebreak.1.sig build/cagebreak.1 || RESULT=1
|
||||
gpg --verify ../signatures/cagebreak-config.5.sig build/cagebreak-config.5 || RESULT=1
|
||||
gpg --verify ../signatures/cagebreak-socket.7.sig build/cagebreak-socket.7 || RESULT=1
|
||||
# shellcheck disable=2103
|
||||
cd ..
|
||||
rm -rf cagebreak
|
||||
|
||||
exit "${RESULT}"
|
||||
|
|
@ -10,7 +10,9 @@ readonly test_deps=$(cd "${MESONCURRENTCONFIGDIR}" ; find . -type f | grep test/
|
|||
readonly examples_deps=$(cd "${MESONCURRENTCONFIGDIR}" ; find . -type f | grep examples/)
|
||||
# shellcheck disable=2155,2164,2046
|
||||
readonly example_scripts_deps=$(cd "${MESONCURRENTCONFIGDIR}" ; find . -type f | grep example_scripts/)
|
||||
readonly deps="${declared_deps} ${hardcoded_deps} ${test_deps} ${examples_deps} ${example_scripts_deps}"
|
||||
# shellcheck disable=2155,2164,2046
|
||||
readonly scripts_deps=$(cd "${MESONCURRENTCONFIGDIR}" ; find . -type f | grep scripts/)
|
||||
readonly deps="${declared_deps} ${hardcoded_deps} ${test_deps} ${examples_deps} ${example_scripts_deps} ${scripts_deps}"
|
||||
# shellcheck disable=2046,2155
|
||||
readonly curryear=$(date +%Y)
|
||||
|
||||
|
|
|
|||
|
|
@ -12,4 +12,7 @@ shellcheck --source-path=../example_scripts/ $(ls -Itesting-configurations) || R
|
|||
cd "${MESONCURRENTCONFIGDIR}/example_scripts/" || RESULT=1
|
||||
shellcheck ./* || RESULT=1
|
||||
|
||||
cd "${MESONCURRENTCONFIGDIR}/scripts/" || RESULT=1
|
||||
shellcheck ./* || RESULT=1
|
||||
|
||||
exit "${RESULT}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue