Use dependency mirror for ci build
This commit is contained in:
22
.gitea/workflows/DependencyMirrors.txt
Normal file
22
.gitea/workflows/DependencyMirrors.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
ASSIMP_REPO=https://git.madvoxel.net/Mirrors/assimp.git
|
||||||
|
EIGEN_REPO=https://git.madvoxel.net/Mirrors/eigen.git
|
||||||
|
FMT_REPO=https://git.madvoxel.net/Mirrors/fmt.git
|
||||||
|
FTXUI_REPO=https://git.madvoxel.net/Mirrors/ftxui.git
|
||||||
|
GLFW_REPO=https://git.madvoxel.net/Mirrors/glfw.git
|
||||||
|
IMGUI_REPO=https://git.madvoxel.net/Mirrors/imgui.git
|
||||||
|
GLM_REPO=https://git.madvoxel.net/Mirrors/glm.git
|
||||||
|
ZLIB_REPO=https://git.madvoxel.net/Mirrors/zlib.git
|
||||||
|
ZSTD_REPO=https://git.madvoxel.net/Mirrors/zstd.git
|
||||||
|
LZ4_REPO=https://git.madvoxel.net/Mirrors/lz4.git
|
||||||
|
LIBARCHIVE_REPO=https://git.madvoxel.net/Mirrors/libarchive.git
|
||||||
|
LIBJPEGTURBO_REPO=https://git.madvoxel.net/Mirrors/libjpeg-turbo.git
|
||||||
|
LIBSTUD_REPO=https://git.madvoxel.net/Mirrors/libstud-uuid.git
|
||||||
|
OPENCV_REPO=https://git.madvoxel.net/Mirrors/opencv.git
|
||||||
|
MAGICENUM_REPO=https://git.madvoxel.net/Mirrors/magic_enum.git
|
||||||
|
SPDLOG_REPO=https://git.madvoxel.net/Mirrors/spdlog.git
|
||||||
|
RAPIDYAML_REPO=https://git.madvoxel.net/Mirrors/rapidyaml.git
|
||||||
|
PUGIXML_REPO=https://git.madvoxel.net/Mirrors/pugixml.git
|
||||||
|
YAMLCPP_REPO=https://git.madvoxel.net/Mirrors/yaml-cpp.git
|
||||||
|
UTFCPP_REPO=https://git.madvoxel.net/Mirrors/utfcpp.git
|
||||||
|
TRACY_REPO=https://git.madvoxel.net/Mirrors/tracy.git
|
||||||
|
STB_REPO=https://git.madvoxel.net/Mirrors/stb.git
|
||||||
@@ -44,6 +44,8 @@ jobs:
|
|||||||
- name: Install Dev Packages
|
- name: Install Dev Packages
|
||||||
if: matrix.config.os == 'ubuntu-latest'
|
if: matrix.config.os == 'ubuntu-latest'
|
||||||
run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build
|
run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build
|
||||||
|
- name: Install repo mirror list
|
||||||
|
run: cp ${{github.workspace}}/
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ include(cmake/VarsFromFile.cmake)
|
|||||||
include(cmake/SetCompilerSettings.cmake)
|
include(cmake/SetCompilerSettings.cmake)
|
||||||
include(cmake/SetupVulkan.cmake)
|
include(cmake/SetupVulkan.cmake)
|
||||||
include(cmake/Filter.cmake)
|
include(cmake/Filter.cmake)
|
||||||
|
include(OpenVulkano/cmake/AppleHelper.cmake)
|
||||||
|
|
||||||
VarsFromFile("DependencyMirrors.txt") # Load mirror list (for CICD)
|
set(DEPENDENCY_MIRROR_FILE "DependencyMirrors.txt" CACHE STRING "Dependency mirror")
|
||||||
|
VarsFromFile("${DEPENDENCY_MIRROR_FILE}") # Load mirror list (for CICD)
|
||||||
|
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user