diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 212af9f..82a51b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,14 @@ cache: build: image: gcc:14.2-bookworm # ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX} + rules: + - if: $CI_COMMIT_BRANCH + changes: [ src/**/* ] + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' before_script: - apt-get update -qq - apt-get install cmake -y -qq + - cd src script: - cmake . - make @@ -23,6 +28,7 @@ deploy: before_script: - apt-get update -qq - apt-get install curl -y -qq + - cd src script: - 'curl --location --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file gridd-unlock-patcher "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/gridd-unlock-patcher/${CI_COMMIT_TAG}/gridd-unlock-patcher"' diff --git a/README.md b/README.md index dde5adc..9bf2b6f 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,6 @@ > [!note] Credits > This code is build by `electricsheep49` + +Currently only Linux-Guests are supported, +see**[Releases](https://git.collinwebdesigns.de/oscar.krause/gridd-unlock-patcher/-/releases)**. diff --git a/CMakeLists.txt b/src/CMakeLists.txt similarity index 100% rename from CMakeLists.txt rename to src/CMakeLists.txt diff --git a/build.sh b/src/build.sh similarity index 100% rename from build.sh rename to src/build.sh diff --git a/cmake/FetchCPM.cmake b/src/cmake/FetchCPM.cmake similarity index 100% rename from cmake/FetchCPM.cmake rename to src/cmake/FetchCPM.cmake diff --git a/gridd-unlock-patcher.cpp b/src/gridd-unlock-patcher.cpp similarity index 100% rename from gridd-unlock-patcher.cpp rename to src/gridd-unlock-patcher.cpp diff --git a/nls-root_ca-certificates.hpp b/src/nls-root_ca-certificates.hpp similarity index 100% rename from nls-root_ca-certificates.hpp rename to src/nls-root_ca-certificates.hpp