1
0
Fork 1
forked from suyu/suyu
suyu-forked/.ci/scripts/linux
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
..
docker.sh CI: use Ninja to build stuff faster 2022-07-04 21:21:56 -06:00
exec.sh ci: pass environment variables to linux docker (AppImage) 2022-07-22 18:13:06 -07:00
upload.sh CI: workaround appimage generation if FUSE is not available 2022-07-04 21:21:56 -06:00