diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c8c1f90 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright 2025 BringAuto + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index fb5298b..3ca01f4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ -# test-context -Package Context for Packager integration tests +# Package Context fro Packager integration tests + +This is a repository with Package Context for [Packager] integration tests. + +[Packager]: https://github.com/bacpack-system/packager diff --git a/app/test-app-a/app_a_debug.json b/app/test-app-a/app_a_debug.json new file mode 100644 index 0000000..c7a1bf8 --- /dev/null +++ b/app/test-app-a/app_a_debug.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-app-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/app/test-app-a/app_a_release.json b/app/test-app-a/app_a_release.json new file mode 100644 index 0000000..fc0d43d --- /dev/null +++ b/app/test-app-a/app_a_release.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-app-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/app/test-app-b/app_b_debug.json b/app/test-app-b/app_b_debug.json new file mode 100644 index 0000000..1b68081 --- /dev/null +++ b/app/test-app-b/app_b_debug.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_B": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-app-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/app/test-app-b/app_b_release.json b/app/test-app-b/app_b_release.json new file mode 100644 index 0000000..2a6c127 --- /dev/null +++ b/app/test-app-b/app_b_release.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_B": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-app-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/app/test-app-c/app_c_debug.json b/app/test-app-c/app_c_debug.json new file mode 100644 index 0000000..3fcc481 --- /dev/null +++ b/app/test-app-c/app_c_debug.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_C": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-app-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/app/test-app-c/app_c_release.json b/app/test-app-c/app_c_release.json new file mode 100644 index 0000000..31fbb88 --- /dev/null +++ b/app/test-app-c/app_c_release.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_APP_C": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-app-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": false, + "IsDevLib": false, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/config/CMCONF_TEST_SYSTEMConfig.cmake b/config/CMCONF_TEST_SYSTEMConfig.cmake new file mode 100644 index 0000000..a97e690 --- /dev/null +++ b/config/CMCONF_TEST_SYSTEMConfig.cmake @@ -0,0 +1,14 @@ + +# Test configuration for CMCONF system. +# + +FIND_PACKAGE(CMLIB REQUIRED COMPONENTS CMCONF) + +CMCONF_INIT_SYSTEM(TEST_SYSTEM) + +# +# Setting using local Package Repository by default for this test system. The +# path is set to be the same as Packager sets it. +# +CMCONF_SET(BA_PACKAGE_LOCAL_USE ON) +CMCONF_SET(BA_PACKAGE_LOCAL_PATH "/lfsrepo") diff --git a/docker/debian13/Dockerfile b/docker/debian13/Dockerfile new file mode 100644 index 0000000..e4d0d83 --- /dev/null +++ b/docker/debian13/Dockerfile @@ -0,0 +1,33 @@ +FROM debian:13.0 + +USER root +RUN echo root:1234 | chpasswd + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + binutils build-essential flex git libssl-dev lsb-release make pkg-config \ + openssh-server patchelf wget libmpfr-dev libmpc-dev libgmp-dev meson ninja-build && \ + rm -rf /var/lib/apt/lists/* + +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.31.10/cmake-3.31.10-linux-x86_64.sh" -O cmake.sh && \ + chmod +x cmake.sh && \ + ./cmake.sh --skip-license --prefix=/usr/local && \ + rm ./cmake.sh + +RUN apt-get update && \ + apt-get purge -y \ + wget && \ + rm -rf /var/lib/apt/lists/* + +RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib +RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc + +# Install Test CMCONF system +COPY --from=package-context config/CMCONF_TEST_SYSTEMConfig.cmake /etc +ENV CMLIB_DIR=/cmakelib +RUN cmake -DCMCONF_INSTALL_AS_SYMLINK=ON -P /etc/CMCONF_TEST_SYSTEMConfig.cmake + +RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +RUN mkdir -p /run/sshd + +ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] diff --git a/docker/fedora43/Dockerfile b/docker/fedora43/Dockerfile new file mode 100644 index 0000000..f2a9d58 --- /dev/null +++ b/docker/fedora43/Dockerfile @@ -0,0 +1,33 @@ +FROM fedora:43 + +USER root +RUN echo root:1234 | chpasswd + +RUN dnf -y update && \ + dnf -y install \ + automake binutils gcc gcc-c++ git kernel-devel lsb-release make openssh-server openssl-devel patchelf wget meson ninja-build \ + && dnf clean all + +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.31.10/cmake-3.31.10-linux-x86_64.sh" -O cmake.sh && \ + chmod +x cmake.sh && \ + ./cmake.sh --skip-license --prefix=/usr/local && \ + rm ./cmake.sh + +RUN dnf -y update && \ + dnf -y remove \ + wget + +RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib +RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc + +# Install Test CMCONF system +COPY --from=package-context config/CMCONF_TEST_SYSTEMConfig.cmake /etc +ENV CMLIB_DIR=/cmakelib +RUN cmake -DCMCONF_INSTALL_AS_SYMLINK=ON -P /etc/CMCONF_TEST_SYSTEMConfig.cmake + +RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +RUN mkdir -p /run/sshd + +RUN ssh-keygen -A + +ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] diff --git a/docker/ubuntu1804-aarch64/Dockerfile b/docker/ubuntu1804-aarch64/Dockerfile new file mode 100644 index 0000000..de481c1 --- /dev/null +++ b/docker/ubuntu1804-aarch64/Dockerfile @@ -0,0 +1,38 @@ +FROM ubuntu:18.04 + +USER root +RUN echo root:1234 | chpasswd + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + build-essential make libssl-dev pkg-config coreutils lsb-release wget g++-8 gcc-8 gcc-8-aarch64-linux-gnu g++-8-aarch64-linux-gnu patchelf unzip openssh-server git && \ + rm -rf /var/lib/apt/lists/* + +RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8 + +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.31.10/cmake-3.31.10-linux-x86_64.sh" -O cmake.sh && \ + chmod +x cmake.sh && \ + ./cmake.sh --skip-license --prefix=/usr/local && \ + rm ./cmake.sh + +RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib +RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc + +RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +RUN mkdir -p /run/sshd + +ENV CXX=aarch64-linux-gnu-g++-8 +ENV CC=aarch64-linux-gnu-gcc-8 + +RUN sed -ri 's/#?PermitUserEnvironment no/PermitUserEnvironment yes/' /etc/ssh/sshd_config +RUN mkdir /root/.ssh && \ + echo "CXX=${CXX}" > /root/.ssh/environment && \ + echo "CC=${CC}" >> /root/.ssh/environment + +COPY init_toolchain.sh /root/ +RUN chmod +x /root/init_toolchain.sh && \ + /root/init_toolchain.sh /root/tools +COPY uname.txt /root/tools/ + +ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] + diff --git a/docker/ubuntu1804-aarch64/init_toolchain.sh b/docker/ubuntu1804-aarch64/init_toolchain.sh new file mode 100644 index 0000000..fb25730 --- /dev/null +++ b/docker/ubuntu1804-aarch64/init_toolchain.sh @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +set -e + +TOOLS_INSTALL_DIR="$1" +TMP_DIR="/tmp/toolchain-install" + +TOOLS_PACKAGE_URI="https://github.com/bacpack-system/packager-tools/releases/download/v1.0.0/bringauto-packager-tools_v1.0.0_x86-64-linux.zip" + +if [[ ${TOOLS_INSTALL_DIR} = "" ]] +then + echo "Specify tools install dir absolute path as a second argument!" >&2 + exit 1 +fi + +function install_tools() { + if [[ -d ${TMP_DIR} ]] + then + echo "TMP dir '${TMP_DIR}' exist" + fi + mkdir -p "${TMP_DIR}" + mkdir -p "${TOOLS_INSTALL_DIR}" + + pushd "${TMP_DIR}" + wget ${TOOLS_PACKAGE_URI} \ + -O "bringauto-packager-tools.zip" + unzip bringauto-packager-tools.zip + rm bringauto-packager-tools.zip + directory_name="$(echo ./*)" + mv "${directory_name}"/* "${TOOLS_INSTALL_DIR}" + rm -r "${directory_name}" + popd + rm -r "${TMP_DIR}" + + chmod +x "${TOOLS_INSTALL_DIR}/uname" + TMP_PATH=$PATH + echo 'PATH='"${TOOLS_INSTALL_DIR}"'/:'"${TMP_PATH}"'' >> /root/.ssh/environment + +} + + +install_tools diff --git a/docker/ubuntu1804-aarch64/uname.txt b/docker/ubuntu1804-aarch64/uname.txt new file mode 100644 index 0000000..b7ff4cb --- /dev/null +++ b/docker/ubuntu1804-aarch64/uname.txt @@ -0,0 +1 @@ +Linux e25e113786d6 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 aarch64 GNU/Linux diff --git a/docker/ubuntu2404/Dockerfile b/docker/ubuntu2404/Dockerfile new file mode 100644 index 0000000..c8fe332 --- /dev/null +++ b/docker/ubuntu2404/Dockerfile @@ -0,0 +1,31 @@ +FROM ubuntu:24.04 + +USER root +RUN echo root:1234 | chpasswd + +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + coreutils lsb-release build-essential openssh-server git libssl-dev pkg-config wget patchelf meson ninja-build && \ + rm -rf /var/lib/apt/lists/* + +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.31.10/cmake-3.31.10-linux-x86_64.sh" -O cmake.sh && \ + chmod +x cmake.sh && \ + ./cmake.sh --skip-license --prefix=/usr/local && \ + rm ./cmake.sh + +RUN apt-get purge -y \ + wget && \ + rm -rf /var/lib/apt/lists/* + +RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib +RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc + +# Install Test CMCONF system +COPY --from=package-context config/CMCONF_TEST_SYSTEMConfig.cmake /etc +ENV CMLIB_DIR=/cmakelib +RUN cmake -DCMCONF_INSTALL_AS_SYMLINK=ON -P /etc/CMCONF_TEST_SYSTEMConfig.cmake + +RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +RUN mkdir -p /run/sshd + +ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] \ No newline at end of file diff --git a/package/.gitignore b/package/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/test_packages/test-package-a-17/pack_a_debug.json b/test_packages/test-package-a-17/pack_a_debug.json new file mode 100644 index 0000000..3aacd3c --- /dev/null +++ b/test_packages/test-package-a-17/pack_a_debug.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a-17", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-18/pack_a_release.json b/test_packages/test-package-a-18/pack_a_release.json new file mode 100644 index 0000000..81ca787 --- /dev/null +++ b/test_packages/test-package-a-18/pack_a_release.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-a-18", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-21/pack_a_debug.json b/test_packages/test-package-a-21/pack_a_debug.json new file mode 100644 index 0000000..62f4932 --- /dev/null +++ b/test_packages/test-package-a-21/pack_a_debug.json @@ -0,0 +1,29 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a-21", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-a-21/pack_a_release.json b/test_packages/test-package-a-21/pack_a_release.json new file mode 100644 index 0000000..a2e80c7 --- /dev/null +++ b/test_packages/test-package-a-21/pack_a_release.json @@ -0,0 +1,29 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-a-21", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-a-22/pack_a_debug.json b/test_packages/test-package-a-22/pack_a_debug.json new file mode 100644 index 0000000..c1b00fe --- /dev/null +++ b/test_packages/test-package-a-22/pack_a_debug.json @@ -0,0 +1,29 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a-22", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-a-22/pack_a_release.json b/test_packages/test-package-a-22/pack_a_release.json new file mode 100644 index 0000000..0ae0c8e --- /dev/null +++ b/test_packages/test-package-a-22/pack_a_release.json @@ -0,0 +1,29 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-a-22", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-a-25/pack_a_debug.json b/test_packages/test-package-a-25/pack_a_debug.json new file mode 100644 index 0000000..315d928 --- /dev/null +++ b/test_packages/test-package-a-25/pack_a_debug.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "not_real_version_tag" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a-25", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-25/pack_a_release.json b/test_packages/test-package-a-25/pack_a_release.json new file mode 100644 index 0000000..b383dd9 --- /dev/null +++ b/test_packages/test-package-a-25/pack_a_release.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-a-25", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-27/pack_a_release.json b/test_packages/test-package-a-27/pack_a_release.json new file mode 100644 index 0000000..094b982 --- /dev/null +++ b/test_packages/test-package-a-27/pack_a_release.json @@ -0,0 +1,35 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release", + "INVALID$DEFINE": "define" + } + } + }, + "Package": { + "Name": "test-package-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-32/pack_a_debug.json b/test_packages/test-package-a-32/pack_a_debug.json new file mode 100644 index 0000000..5f77ef0 --- /dev/null +++ b/test_packages/test-package-a-32/pack_a_debug.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a-33/pack_a_debug.json b/test_packages/test-package-a-33/pack_a_debug.json new file mode 100644 index 0000000..8e6391c --- /dev/null +++ b/test_packages/test-package-a-33/pack_a_debug.json @@ -0,0 +1,35 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug", + "SOME_DEFINE": true + } + } + }, + "Package": { + "Name": "test-package-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a/pack_a_debug.json b/test_packages/test-package-a/pack_a_debug.json new file mode 100644 index 0000000..3e214b3 --- /dev/null +++ b/test_packages/test-package-a/pack_a_debug.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-a/pack_a_release.json b/test_packages/test-package-a/pack_a_release.json new file mode 100644 index 0000000..d610924 --- /dev/null +++ b/test_packages/test-package-a/pack_a_release.json @@ -0,0 +1,34 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-b-17/pack_b_release.json b/test_packages/test-package-b-17/pack_b_release.json new file mode 100644 index 0000000..872ee3d --- /dev/null +++ b/test_packages/test-package-b-17/pack_b_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_B": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-b-23/pack_b_debug.json b/test_packages/test-package-b-23/pack_b_debug.json new file mode 100644 index 0000000..7b97eb2 --- /dev/null +++ b/test_packages/test-package-b-23/pack_b_debug.json @@ -0,0 +1,32 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_B": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-b-23", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-b-23/pack_b_release.json b/test_packages/test-package-b-23/pack_b_release.json new file mode 100644 index 0000000..b0e6771 --- /dev/null +++ b/test_packages/test-package-b-23/pack_b_release.json @@ -0,0 +1,32 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_B": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-b-23", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [] + } +} + diff --git a/test_packages/test-package-b/pack_b_debug.json b/test_packages/test-package-b/pack_b_debug.json new file mode 100644 index 0000000..0e4a6eb --- /dev/null +++ b/test_packages/test-package-b/pack_b_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_B": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-b/pack_b_release.json b/test_packages/test-package-b/pack_b_release.json new file mode 100644 index 0000000..872ee3d --- /dev/null +++ b/test_packages/test-package-b/pack_b_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_B": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-c/pack_c_debug.json b/test_packages/test-package-c/pack_c_debug.json new file mode 100644 index 0000000..8400330 --- /dev/null +++ b/test_packages/test-package-c/pack_c_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-b" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_C": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-c/pack_c_release.json b/test_packages/test-package-c/pack_c_release.json new file mode 100644 index 0000000..11a9467 --- /dev/null +++ b/test_packages/test-package-c/pack_c_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-b" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_C": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-a/pack_a_debug.json b/test_packages/test-package-circ-dep-a/pack_a_debug.json new file mode 100644 index 0000000..b29629a --- /dev/null +++ b/test_packages/test-package-circ-dep-a/pack_a_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-a/pack_a_release.json b/test_packages/test-package-circ-dep-a/pack_a_release.json new file mode 100644 index 0000000..4ce50a7 --- /dev/null +++ b/test_packages/test-package-circ-dep-a/pack_a_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-a" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-a", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-b/pack_a_debug.json b/test_packages/test-package-circ-dep-b/pack_a_debug.json new file mode 100644 index 0000000..09835a4 --- /dev/null +++ b/test_packages/test-package-circ-dep-b/pack_a_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-c" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-b/pack_a_release.json b/test_packages/test-package-circ-dep-b/pack_a_release.json new file mode 100644 index 0000000..263d211 --- /dev/null +++ b/test_packages/test-package-circ-dep-b/pack_a_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-c" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-b", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-c/pack_a_debug.json b/test_packages/test-package-circ-dep-c/pack_a_debug.json new file mode 100644 index 0000000..91d6400 --- /dev/null +++ b/test_packages/test-package-circ-dep-c/pack_a_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-d" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-c/pack_a_release.json b/test_packages/test-package-circ-dep-c/pack_a_release.json new file mode 100644 index 0000000..b85a661 --- /dev/null +++ b/test_packages/test-package-circ-dep-c/pack_a_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-d" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-c", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-d/pack_a_debug.json b/test_packages/test-package-circ-dep-d/pack_a_debug.json new file mode 100644 index 0000000..2c21e64 --- /dev/null +++ b/test_packages/test-package-circ-dep-d/pack_a_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-b" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-d", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-circ-dep-d/pack_a_release.json b/test_packages/test-package-circ-dep-d/pack_a_release.json new file mode 100644 index 0000000..eae2797 --- /dev/null +++ b/test_packages/test-package-circ-dep-d/pack_a_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-circ-dep-b" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_A": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-circ-dep-d", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-d/pack_d_debug.json b/test_packages/test-package-d/pack_d_debug.json new file mode 100644 index 0000000..26a51c9 --- /dev/null +++ b/test_packages/test-package-d/pack_d_debug.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-c" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_D": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-d", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-d/pack_d_release.json b/test_packages/test-package-d/pack_d_release.json new file mode 100644 index 0000000..1982eda --- /dev/null +++ b/test_packages/test-package-d/pack_d_release.json @@ -0,0 +1,37 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-c" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_D": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-d", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-e/pack_e_debug.json b/test_packages/test-package-e/pack_e_debug.json new file mode 100644 index 0000000..e78c270 --- /dev/null +++ b/test_packages/test-package-e/pack_e_debug.json @@ -0,0 +1,39 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a", + "test-package-b", + "test-package-d" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_E": "ON", + "CMAKE_BUILD_TYPE": "Debug" + } + } + }, + "Package": { + "Name": "test-package-e", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-e/pack_e_release.json b/test_packages/test-package-e/pack_e_release.json new file mode 100644 index 0000000..1e196f4 --- /dev/null +++ b/test_packages/test-package-e/pack_e_release.json @@ -0,0 +1,39 @@ +{ + "Env": {}, + "DependsOn": [ + "test-package-a", + "test-package-b", + "test-package-d" + ], + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "CMake": { + "Defines": { + "USE_PACKAGE_E": "ON", + "CMAKE_BUILD_TYPE": "Release" + } + } + }, + "Package": { + "Name": "test-package-e", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu1804-aarch64", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f-28/pack_f_debug.json b/test_packages/test-package-f-28/pack_f_debug.json new file mode 100644 index 0000000..9714e1a --- /dev/null +++ b/test_packages/test-package-f-28/pack_f_debug.json @@ -0,0 +1,35 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Defines": { + "INVALID$DEFINE": "define" + }, + "Options": { + "buildtype": "debug" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f-29/pack_f_debug.json b/test_packages/test-package-f-29/pack_f_debug.json new file mode 100644 index 0000000..ca18220 --- /dev/null +++ b/test_packages/test-package-f-29/pack_f_debug.json @@ -0,0 +1,33 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Options": { + "buildtype": "debug", + "invalid_option": "option" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f-30/pack_f_debug.json b/test_packages/test-package-f-30/pack_f_debug.json new file mode 100644 index 0000000..50e8952 --- /dev/null +++ b/test_packages/test-package-f-30/pack_f_debug.json @@ -0,0 +1,35 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Defines": { + "": "define" + }, + "Options": { + "buildtype": "debug" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f-31/pack_f_debug.json b/test_packages/test-package-f-31/pack_f_debug.json new file mode 100644 index 0000000..60df575 --- /dev/null +++ b/test_packages/test-package-f-31/pack_f_debug.json @@ -0,0 +1,32 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Options": { + "": "debug" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f/pack_f_debug.json b/test_packages/test-package-f/pack_f_debug.json new file mode 100644 index 0000000..d1909ae --- /dev/null +++ b/test_packages/test-package-f/pack_f_debug.json @@ -0,0 +1,32 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Options": { + "buildtype": "debug" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": true + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} + diff --git a/test_packages/test-package-f/pack_f_release.json b/test_packages/test-package-f/pack_f_release.json new file mode 100644 index 0000000..2c18b31 --- /dev/null +++ b/test_packages/test-package-f/pack_f_release.json @@ -0,0 +1,32 @@ +{ + "Env": {}, + "Git": { + "URI": "https://github.com/bacpack-system/test-packages.git", + "Revision": "master" + }, + "Build": { + "Meson": { + "Options": { + "buildtype": "release" + } + } + }, + "Package": { + "Name": "test-package-f", + "VersionTag": "v1.0.0", + "PlatformString": { + "Mode": "auto" + }, + "IsLibrary": true, + "IsDevLib": true, + "IsDebug": false + }, + "DockerMatrix": { + "ImageNames": [ + "debian13", + "ubuntu2404", + "fedora43" + ] + } +} +