From 52adc41974b2d3e5110cc1b749e98426eec2d4b9 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Sun, 31 Aug 2025 05:34:42 +0000 Subject: [PATCH] Add .onedev-buildspec.yml --- .onedev-buildspec.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .onedev-buildspec.yml diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 0000000..57d8552 --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,34 @@ +version: 39 +jobs: +- name: Build + steps: + - !CheckoutStep + name: Checkout + cloneCredential: !DefaultCredential {} + withLfs: true + withSubmodules: true + cloneDepth: 1 + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !CommandStep + name: Build + runInContainer: true + image: mcr.microsoft.com/dotnet/sdk:9.0 + interpreter: !DefaultInterpreter + commands: | + apt update -y + apt install -y makensis cmake g++-mingw-w64-i686-win32 make + bash Packaging/Windows/build.sh + useTTY: true + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !PublishArtifactStep + name: Publish Windows Artifact + artifacts: Packaging/Windows/build/package/CrossLangDevStudio-Installer.exe + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !BranchUpdateTrigger + branches: master + projects: crosslang/crosslangdevstudio + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 14400