Merge branch 'development' of https://github.com/EmotionChild/SupportChild into development
This commit is contained in:
commit
248e638e6e
2 changed files with 40 additions and 0 deletions
38
Jenkinsfile
vendored
Normal file
38
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
stages {
|
||||||
|
stage('Setup Dependencies') {
|
||||||
|
steps {
|
||||||
|
sh 'dotnet restore'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build') {
|
||||||
|
parallel {
|
||||||
|
stage('Linux') {
|
||||||
|
steps {
|
||||||
|
sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r linux-x64 -c Release --self-contained true --no-restore --output Linux-x64/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Windows') {
|
||||||
|
steps {
|
||||||
|
sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r win-x64 -c Release --self-contained true --no-restore --output Windows-x64/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Archive') {
|
||||||
|
parallel {
|
||||||
|
stage('Linux') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts(artifacts: 'Linux-x64/SupportChild', caseSensitive: true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Windows') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts(artifacts: 'Windows-x64/SupportChild.exe', caseSensitive: true)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1 +1,3 @@
|
||||||
# SupportChild
|
# SupportChild
|
||||||
|
|
||||||
|
this is a customized version of [SupportBoi](https://github.com/KarlOfDuty/SupportBoi) it is recommended you go and check out the awesome work that is there!
|
||||||
|
|
Loading…
Reference in a new issue