mirror of
https://onedev.site.tesses.net/crosslang/crosslangdevstudio
synced 2026-02-08 09:15:45 +00:00
Add .onedev-buildspec.yml
This commit is contained in:
34
.onedev-buildspec.yml
Normal file
34
.onedev-buildspec.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user