CI: Checkout with fetch-depth: 0

This commit is contained in:
Luke Street 2021-03-29 18:32:55 -04:00
parent 6812670cc8
commit eb032863fb
5 changed files with 17 additions and 11 deletions

View File

@ -27,6 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
@ -75,6 +76,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
@ -131,6 +133,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Install LLVM
@ -191,6 +194,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Install LLVM

View File

@ -65,7 +65,7 @@ bool ProjectManager::newProject(hecl::SystemStringView path) {
saveProject();
m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - URDE {} [{}]")),
m_proj->getProjectRootPath().getLastComponent(), URDE_WC_DESCRIBE, m_vm.platformName()));
m_proj->getProjectRootPath().getLastComponent(), URDE_WC_DESCRIBE_SYS, m_vm.platformName()));
m_vm.DismissSplash();
m_vm.FadeInEditors();
@ -105,7 +105,8 @@ bool ProjectManager::openProject(hecl::SystemStringView path) {
saveProject();
m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - URDE {} [{}]")),
m_proj->getProjectRootPath().getLastComponent(), URDE_WC_DESCRIBE, m_vm.platformName()));
m_proj->getProjectRootPath().getLastComponent(), URDE_WC_DESCRIBE_SYS,
m_vm.platformName()));
m_vm.DismissSplash();
m_vm.FadeInEditors();
m_vm.pushRecentProject(m_proj->getProjectRootPath().getAbsolutePath());

View File

@ -34,7 +34,7 @@ SplashScreen::SplashScreen(ViewManager& vm, specter::ViewResources& res)
, m_openProjBind(*this)
, m_extractProjBind(*this) {
if (URDE_WC_DATE[0] != '\0' && URDE_WC_REVISION[0] != '\0' && URDE_WC_BRANCH[0] != '\0') {
m_buildInfoStr = fmt::format(FMT_STRING("{}: {}\n{}: {}\n{}: {}"),
m_buildInfoStr = fmt::format(FMT_STRING("{}: {}\n{}: {}\n{}: {}"),
vm.translate<locale::version>(), URDE_WC_DESCRIBE,
vm.translate<locale::branch>(), URDE_WC_BRANCH,
vm.translate<locale::commit>(), URDE_WC_REVISION/*,

View File

@ -299,7 +299,7 @@ void ViewManager::init(boo::IApplication* app) {
m_pipelineConv = hecl::NewPipelineConverter(m_mainBooFactory);
hecl::conv = m_pipelineConv.get();
m_mainPlatformName = m_mainBooFactory->platformName();
m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("URDE {} [{}]")), URDE_WC_DESCRIBE, m_mainPlatformName));
m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("URDE {} [{}]")), URDE_WC_DESCRIBE_SYS, m_mainPlatformName));
m_mainCommandQueue = m_mainWindow->getCommandQueue();
m_viewResources.init(m_mainBooFactory, &m_fontCache, &m_themeData, pixelFactor);
InitializeIcons(m_viewResources);

View File

@ -9,17 +9,18 @@
#endif
#endif
#define URDE_WC_DESCRIBE _SYS_STR("@URDE_WC_DESCRIBE@")
#define URDE_VERSION_STRING _SYS_STR("@URDE_VERISON_STRING@")
#define URDE_WC_DESCRIBE "@URDE_WC_DESCRIBE@"
#define URDE_WC_DESCRIBE_SYS _SYS_STR("@URDE_WC_DESCRIBE@")
#define URDE_VERSION_STRING "@URDE_VERISON_STRING@"
#define URDE_WC_BRANCH _SYS_STR("@URDE_WC_BRANCH@")
#define URDE_WC_REVISION _SYS_STR("@URDE_WC_REVISION@")
#define URDE_WC_DATE _SYS_STR("@URDE_WC_DATE@")
#define URDE_WC_BRANCH "@URDE_WC_BRANCH@"
#define URDE_WC_REVISION "@URDE_WC_REVISION@"
#define URDE_WC_DATE "@URDE_WC_DATE@"
#if defined(__x86_64__) || defined(_M_AMD64)
#define URDE_DLPACKAGE _SYS_STR("urde-@URDE_WC_DESCRIBE@-@PLATFORM_NAME@-x86_64-@URDE_VECTOR_ISA@")
#define URDE_DLPACKAGE "urde-@URDE_WC_DESCRIBE@-@PLATFORM_NAME@-x86_64-@URDE_VECTOR_ISA@"
#elif defined(__aarch64__) || defined(_M_ARM64)
#define URDE_DLPACKAGE _SYS_STR("urde-@URDE_WC_DESCRIBE@-@PLATFORM_NAME@-arm64")
#define URDE_DLPACKAGE "urde-@URDE_WC_DESCRIBE@-@PLATFORM_NAME@-arm64"
#endif
#endif