Compare commits
12 Commits
09a70ab98d
...
v0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9005863300 | ||
|
|
60a1683255 | ||
|
|
e85781c29e | ||
|
|
580c05c37b | ||
|
|
2c7bb51658 | ||
|
|
3f80057682 | ||
|
|
8f868529f8 | ||
|
|
8e6da66609 | ||
|
|
ae4e81c937 | ||
|
|
ed1dc1eed9 | ||
|
|
50dc6c8195 | ||
|
|
bbbe7adb3a |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
BIN
lib/libnethost.a
BIN
lib/libnethost.a
Binary file not shown.
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user