1
0
Fork 0
forked from suyu/suyu
suyu/.ci/scripts
Kyle K dc45147736 ci: pass environment variables to linux docker (AppImage)
Variables in question:
AZURECIREPO TITLEBARFORMATIDLE TITLEBARFORMATRUNNING DISPLAYVERSION

CMakeModules/GenerateSCMRev.cmake has some logic that looks at BUILD_REPOSITORY variable inside CMake

src/common/CMakeLists.txt has some logic that takes some items from environment variables and
 sets variables inside CMake

This is the whole section at the moment.

    if (DEFINED ENV{AZURECIREPO})
      set(BUILD_REPOSITORY $ENV{AZURECIREPO})
    endif()
    if (DEFINED ENV{TITLEBARFORMATIDLE})
      set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE})
    endif ()
    if (DEFINED ENV{TITLEBARFORMATRUNNING})
      set(TITLE_BAR_FORMAT_RUNNING $ENV{TITLEBARFORMATRUNNING})
    endif ()
    if (DEFINED ENV{DISPLAYVERSION})
      set(DISPLAY_VERSION $ENV{DISPLAYVERSION})
    endif ()
2022-07-22 18:13:06 -07:00
..
clang ci,CMake: Integrate vcpkg into CMakeLists 2022-07-22 20:54:00 -04:00
common CI: lint scripts 2022-07-04 21:21:56 -06:00
format CI: unbreak ADO after GHA changes 2022-07-05 00:50:46 -06:00
linux ci: pass environment variables to linux docker (AppImage) 2022-07-22 18:13:06 -07:00
merge ci: Don't fetch submodules when fetching PRs 2021-11-16 22:26:54 -05:00
transifex .ci/transifex: Mark docker.sh as executable 2021-10-16 00:59:18 +02:00
windows ci,CMake: Drop Conan support for vcpkg 2022-07-22 20:54:00 -04:00