12 Commits

Author SHA1 Message Date
erris
9005863300 Edit .onedev-buildspec.yml 2026-03-10 23:36:50 +01:00
erris
60a1683255 Edit .onedev-buildspec.yml 2026-03-10 23:34:04 +01:00
erris
e85781c29e Edit .onedev-buildspec.yml 2026-03-10 23:32:10 +01:00
erris
580c05c37b Edit .onedev-buildspec.yml 2026-03-10 23:16:22 +01:00
erris
2c7bb51658 Edit .onedev-buildspec.yml 2026-03-10 22:58:27 +01:00
erris
3f80057682 Edit .onedev-buildspec.yml 2026-03-10 22:19:05 +01:00
erris
8f868529f8 Edit .onedev-buildspec.yml 2026-03-10 22:14:22 +01:00
erris
8e6da66609 Edit .onedev-buildspec.yml 2026-03-10 20:50:41 +01:00
erris
ae4e81c937 Edit .onedev-buildspec.yml 2026-03-10 20:48:44 +01:00
Erris
ed1dc1eed9 removing nethost lib to fix compatibility issue 2026-03-10 19:30:38 +01:00
Erris
50dc6c8195 Merge branch 'main' of https://git.anfer.fr/OpenEngine 2026-03-10 19:12:07 +01:00
Erris
bbbe7adb3a fixing compilation error 2026-03-10 19:12:01 +01:00
4 changed files with 59 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ jobs:
steps:
- type: SetupCacheStep
name: conan-cache
key: conan-cache-@file:conanfile.py@
key: conan-cache-@file:conanfile.txt@
paths:
- /root/.conan2
uploadStrategy: UPLOAD_IF_CHANGED
@@ -48,6 +48,12 @@ jobs:
interpreter:
type: DefaultInterpreter
commands: |
#git clone --depth 1 https://github.com/dotnet/runtime.git
#cd runtime
#./build.sh -c Release -subset host
#cp artifacts/bin/native/net10.0-linux-Release-x64/nethost/libnethost.a /onedev-build/workspace/lib/
git submodule update --init --recursive
conan profile detect --force
@@ -74,6 +80,56 @@ jobs:
condition: SUCCESSFUL
optional: false
jobExecutor: luna-executor
triggers:
- type: BranchUpdateTrigger
branches: main
userMatch: anyone
projects: OpenEngine
retryCondition: never
maxRetries: 3
retryDelay: 30
timeout: 14400
- name: Release to Gitea
steps:
- type: CommandStep
name: Release to Gitea
runInContainer: true
image: erriss/erris-build_tools:V0.8
interpreter:
type: DefaultInterpreter
commands: |
# 1. Create the Release metadata
RELEASE_JSON=$(printf '{"tag_name":"v1.0.%s","target_commitish":"main","name":"Release v1.0.%s","body":"Automated build from OneDev","draft":false,"prerelease":false}' "$ONEDEV_BUILD_NUMBER" "$ONEDEV_BUILD_NUMBER")
curl -X 'POST' \
"https://gitea.anfer.fr/api/v1/repos/anfer/OpenEngine/releases" \
-H "Authorization: token @secret:Gitea@" \
-H "Content-Type: application/json" \
-d "$RELEASE_JSON" > release_info.json
# 2. Extract the Release ID (using jq)
RELEASE_ID=$(jq '.id' release_info.json)
# 3. Upload your binary (oe_editor)
curl -X 'POST' \
"https://gitea.anfer.fr/api/v1/repos/anfer/OpenEngine/releases/$RELEASE_ID/assets?name=oe_editor" \
-H "Authorization: token @secret:Gitea@" \
-H "Content-Type: application/octet-stream" \
--data-binary=build/editor/oe_editor
envVars:
- name: ONEDEV_BUILD_NUMBER
value: '1'
useTTY: true
condition: SUCCESSFUL
optional: false
jobExecutor: terra-executor
triggers:
- type: DependencyFinishedTrigger
projects: OpenEngine
jobDependencies:
- jobName: Compile for Linux
requireSuccessful: true
artifacts: '**'
retryCondition: never
maxRetries: 3
retryDelay: 30

View File

@@ -8,6 +8,7 @@ fastgltf/0.9.0
glm/1.0.1
glfw/3.4
shaderc/2025.3
spirv-cross/1.4.321.0
[generators]
CMakeDeps

Binary file not shown.

View File

@@ -19,6 +19,7 @@ find_package(spdlog REQUIRED)
find_package(glm REQUIRED)
find_package(glfw3 REQUIRED)
find_package(shaderc REQUIRED)
find_package(spirv-cross REQUIRED)
file(GLOB_RECURSE SRC_FILES "src/*.cpp")
file(GLOB IMGUIZMO_SRC_FILES "${CMAKE_SOURCE_DIR}/vendor/ImGuizmo/*.cpp")