Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Aug 28, 2024
2 parents 6a92084 + d27a745 commit 32d9ee4
Show file tree
Hide file tree
Showing 489 changed files with 32,128 additions and 15,427 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: continuous

on: [push]

jobs:
tests:
name: tests
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Tests
run: ./build.ps1 Tests -Configuration Debug
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results (${{ runner.os }})
path: output/**/*_testresults.xml
upload-docs:
needs: tests
name: upload-docs
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadDocumentation+PublishGitHubRelease
run: ./build.ps1 UploadDocumentation+PublishGitHubRelease
upload-electron-app:
needs: upload-docs
name: upload-electron-app
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
CodeSigningCertificateKeyVaultBaseUrl: ${{ secrets.CODESIGNINGKEYVAULTBASEURL }}
KeyVaultClientId: ${{ secrets.CODESIGNINGKEYVAULTCLIENTID }}
KeyVaultClientSecret: ${{ secrets.CODESIGNINGKEYVAULTCLIENTSECRET }}
CodeSigningKeyVaultTenantId: ${{ secrets.CODESIGNINGKEYVAULTTENANTID }}
CodeSigningCertificateName: ${{ secrets.CODESIGNINGKEYVAULTCERTIFICATENAME }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadElectronApp
run: ./build.ps1 UploadElectronApp --skip UploadDocumentation BuildDocumentation BuildDocFxMetadata
upload-revit-plugin:
needs: upload-docs
name: upload-revit-plugin
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
CodeSigningCertificateKeyVaultBaseUrl: ${{ secrets.CODESIGNINGKEYVAULTBASEURL }}
KeyVaultClientId: ${{ secrets.CODESIGNINGKEYVAULTCLIENTID }}
KeyVaultClientSecret: ${{ secrets.CODESIGNINGKEYVAULTCLIENTSECRET }}
CodeSigningKeyVaultTenantId: ${{ secrets.CODESIGNINGKEYVAULTTENANTID }}
CodeSigningCertificateName: ${{ secrets.CODESIGNINGKEYVAULTCERTIFICATENAME }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadRevitPlugin
run: ./build.ps1 UploadRevitPlugin
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
Expand Down Expand Up @@ -194,3 +193,11 @@ FakesAssemblies/

# Visual Studio 6 workspace options file
*.opt

output/

nuke2/

src/IPA.Bcfier.App/wwwroot/dist/

src/IPA.Bcfier.Revit/Resources/Browser/
170 changes: 170 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"type": "object",
"properties": {
"CodeSigningCertificateKeyVaultBaseUrl": {
"type": "string"
},
"CodeSigningCertificateName": {
"type": "string"
},
"CodeSigningKeyVaultTenantId": {
"type": "string"
},
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"DocuApiKey": {
"type": "string"
},
"DocuBaseUrl": {
"type": "string"
},
"ExecutablesToSignFolder": {
"type": "string"
},
"GitHubAuthenticationToken": {
"type": "string"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"KeyVaultClientId": {
"type": "string"
},
"KeyVaultClientSecret": {
"type": "string"
},
"MigrationName": {
"type": "string"
},
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
},
"Profile": {
"type": "array",
"description": "Defines the profiles to load",
"items": {
"type": "string"
}
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"BuildDocFxMetadata",
"BuildDocumentation",
"BuildElectronApp",
"BuildFrontend",
"BuildFrontendSwaggerClient",
"BuildRevitPlugin",
"Clean",
"Compile",
"CreateMigration",
"FrontEndRestore",
"GenerateFrontendVersion",
"PublishGitHubRelease",
"Restore",
"SignExecutables",
"Tests",
"UploadDocumentation",
"UploadElectronApp",
"UploadRevitPlugin"
]
}
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"BuildDocFxMetadata",
"BuildDocumentation",
"BuildElectronApp",
"BuildFrontend",
"BuildFrontendSwaggerClient",
"BuildRevitPlugin",
"Clean",
"Compile",
"CreateMigration",
"FrontEndRestore",
"GenerateFrontendVersion",
"PublishGitHubRelease",
"Restore",
"SignExecutables",
"Tests",
"UploadDocumentation",
"UploadElectronApp",
"UploadRevitPlugin"
]
}
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"enum": [
"Minimal",
"Normal",
"Quiet",
"Verbose"
]
}
}
}
}
}
4 changes: 4 additions & 0 deletions .nuke/parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./build.schema.json",
"Solution": "IPA.BCFier.sln"
}
13 changes: 0 additions & 13 deletions AssemblyVersionInfo.cs

This file was deleted.

Binary file removed BCFier.exe
Binary file not shown.
Loading

0 comments on commit 32d9ee4

Please sign in to comment.