-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
266 changed files
with
10,315 additions
and
3,547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,8 @@ setup: true | |
# the path-filtering orb is required to continue a pipeline based on | ||
# the path of an updated fileset | ||
orbs: | ||
path-filtering: circleci/[email protected] | ||
continuation: circleci/[email protected] | ||
python: circleci/[email protected] | ||
continuation: circleci/[email protected] | ||
python: circleci/[email protected] | ||
|
||
jobs: | ||
setup: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,8 @@ version: 2.1 | |
|
||
orbs: | ||
win: circleci/[email protected] | ||
aws-s3: circleci/[email protected] | ||
codecov: codecov/[email protected] | ||
wait-for: cobli/[email protected] | ||
discord: antonioned/[email protected] | ||
docker: circleci/[email protected] | ||
macos: circleci/[email protected] | ||
macos: circleci/[email protected] | ||
# The main workflows for our monorepo pipeline. | ||
|
||
workflows: | ||
|
@@ -74,14 +70,14 @@ commands: | |
jobs: # Each project will have individual jobs for each specific task it has to execute (build, release...) | ||
build-sdk: | ||
docker: | ||
- image: cimg/base:2021.01 | ||
- image: cimg/base:2024.07 | ||
steps: | ||
- cached-checkout | ||
- run: | ||
name: Install dotnet | ||
command: | | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel sts | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.204 | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.206 | ||
$HOME/.dotnet/dotnet --version | ||
- run: | ||
name: Enforce formatting | ||
|
@@ -121,15 +117,15 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
|
||
test-core: | ||
machine: | ||
image: ubuntu-2204:2023.02.1 | ||
image: ubuntu-2204:2024.05.1 | ||
resource_class: large | ||
steps: | ||
- cached-checkout | ||
- run: | ||
name: Install dotnet | ||
command: | | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel sts | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.204 | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.206 | ||
$HOME/.dotnet/dotnet --version | ||
- run: | ||
name: Startup the Speckle Server | ||
|
@@ -203,17 +199,33 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
name: Exit if External PR | ||
shell: bash.exe | ||
command: if [ "$CIRCLE_PR_REPONAME" ]; then circleci-agent step halt; fi | ||
- unless: # Build installers unsigned on non-tagged builds | ||
condition: << pipeline.git.tag >> | ||
- unless: # Build Unsigned Installers for untagged, or wip/alpha/feature/etc. tags (non-stable, non-rc) | ||
condition: | ||
and: | ||
- << pipeline.git.tag >> | ||
- not: | ||
matches: | ||
pattern: "^.*-(?!rc).*$" | ||
value: << pipeline.git.tag >> | ||
steps: | ||
- run: | ||
name: Build Installer | ||
name: Build Installer Unsigned | ||
command: speckle-sharp-ci-tools\InnoSetup\ISCC.exe speckle-sharp-ci-tools\%SLUG%.iss /Sbyparam=$p | ||
shell: cmd.exe #does not work in powershell | ||
environment: | ||
SLUG: << parameters.slug >> | ||
- when: # Setup certificates and build installers signed for tagged builds | ||
condition: << pipeline.git.tag >> | ||
- persist_to_workspace: | ||
root: ./ | ||
paths: | ||
- speckle-sharp-ci-tools/Installers | ||
- when: # Setup certificates and build installers signed for tagged builds that aren't prerelease | ||
condition: | ||
and: | ||
- << pipeline.git.tag >> | ||
- not: | ||
matches: | ||
pattern: "^.*-(?!rc).*$" | ||
value: << pipeline.git.tag >> | ||
steps: | ||
- run: | ||
name: "Digicert Signing Manager Setup" | ||
|
@@ -232,7 +244,7 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
command: | | ||
& $env:SSM\smksp_cert_sync.exe | ||
- run: | ||
name: Build Installer | ||
name: Build Installer Signed | ||
command: speckle-sharp-ci-tools\InnoSetup\ISCC.exe speckle-sharp-ci-tools\%SLUG%.iss /Sbyparam=$p /DSIGN_INSTALLER /DCODE_SIGNING_CERT_FINGERPRINT=%SM_CODE_SIGNING_CERT_SHA1_HASH% | ||
shell: cmd.exe #does not work in powershell | ||
environment: | ||
|
@@ -312,7 +324,7 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
name: Install dotnet | ||
command: | | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel sts | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.204 | ||
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.206 | ||
$HOME/.dotnet/dotnet --version | ||
$HOME/.dotnet/dotnet --list-runtimes | ||
|
@@ -341,6 +353,28 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
msbuild << parameters.slnname >>/<< parameters.slnname >>.sln /r /p:Configuration='<< parameters.build-config >>' /p:IsDesktopBuild=false /p:Version=$SEMVER /p:FileVersion=$VERSION | ||
environment: | ||
WORKFLOW_NUM: << pipeline.number >> | ||
- unless: | ||
condition: << parameters.build-with-mono >> | ||
steps: | ||
- run: | ||
name: Publish x64 and arm64 | ||
command: | | ||
TAG=$(if [ "${CIRCLE_TAG}" ]; then echo $CIRCLE_TAG; else echo "2.0.999"; fi;) | ||
SEMVER=$(echo "$TAG" | sed -e 's/\/[a-zA-Z-]*//') | ||
VER=$(echo "$SEMVER" | sed -e 's/-.*//') | ||
VERSION=$(echo $VER.$WORKFLOW_NUM) | ||
$HOME/.dotnet/dotnet publish << parameters.slnname >>/<< parameters.projname >>/<< parameters.projname >>.csproj -c Release -r osx-arm64 --self-contained /p:IsDesktopBuild=false /p:Version=$SEMVER /p:FileVersion=$VERSION | ||
$HOME/.dotnet/dotnet publish << parameters.slnname >>/<< parameters.projname >>/<< parameters.projname >>.csproj -c Release -r osx-x64 --self-contained /p:IsDesktopBuild=false /p:Version=$SEMVER /p:FileVersion=$VERSION | ||
environment: | ||
WORKFLOW_NUM: << pipeline.number >> | ||
# Create installer | ||
- run: | ||
name: Exit if External PR | ||
command: if [ "$CIRCLE_PR_REPONAME" ]; then circleci-agent step halt; fi | ||
# Zip files for installer | ||
- when: | ||
condition: << parameters.build-with-mono >> | ||
steps: | ||
# Compress build files | ||
- run: | ||
name: Zip Objects Kit files | ||
|
@@ -362,34 +396,25 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
condition: << parameters.build-with-mono >> | ||
steps: | ||
- run: | ||
name: Publish x64 and arm64 | ||
name: Create app bundles | ||
command: | | ||
TAG=$(if [ "${CIRCLE_TAG}" ]; then echo $CIRCLE_TAG; else echo "2.0.999"; fi;) | ||
SEMVER=$(echo "$TAG" | sed -e 's/\/[a-zA-Z-]*//') | ||
VER=$(echo "$SEMVER" | sed -e 's/-.*//') | ||
VERSION=$(echo $VER.$WORKFLOW_NUM) | ||
$HOME/.dotnet/dotnet publish << parameters.slnname >>/<< parameters.projname >>/<< parameters.projname >>.csproj -c Release -r osx-arm64 --self-contained /p:IsDesktopBuild=false /p:Version=$SEMVER /p:FileVersion=$VERSION | ||
$HOME/.dotnet/dotnet publish << parameters.slnname >>/<< parameters.projname >>/<< parameters.projname >>.csproj -c Release -r osx-x64 --self-contained /p:IsDesktopBuild=false /p:Version=$SEMVER /p:FileVersion=$VERSION | ||
environment: | ||
WORKFLOW_NUM: << pipeline.number >> | ||
sh ./speckle-sharp-ci-tools/Mac/AppBundle/bundle.sh ./<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/publish/ ./<< parameters.slnname >>/<< parameters.slnname >>/Info.plist ./<< parameters.slnname >>/<< parameters.slnname >>/Assets/icon-mac.icns ./<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/<< parameters.slnname >> | ||
sh ./speckle-sharp-ci-tools/Mac/AppBundle/bundle.sh ./<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-x64/publish/ ./<< parameters.slnname >>/<< parameters.slnname >>/Info.plist ./<< parameters.slnname >>/<< parameters.slnname >>/Assets/icon-mac.icns ./<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-x64/<< parameters.slnname >> | ||
- run: | ||
name: Zip Connector files | ||
command: | | ||
cd "<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/publish" | ||
zip -r << parameters.slug >>-mac-arm64.zip "./" | ||
cd "../../osx-x64/publish" | ||
zip -r << parameters.slug >>-mac-x64.zip "./" | ||
cd "<< parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/" | ||
zip -r << parameters.slug >>-mac-arm64.zip "./<< parameters.slnname >>.app" | ||
cd "../osx-x64/" | ||
zip -r << parameters.slug >>-mac-x64.zip "./<< parameters.slnname >>.app" | ||
# Copy installer files | ||
- run: | ||
name: Copy files to installer | ||
command: | | ||
mkdir -p speckle-sharp-ci-tools/Mac/<< parameters.installername >>/.installationFiles/ | ||
cp << parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/publish/<< parameters.slug >>-mac-arm64.zip speckle-sharp-ci-tools/Mac/<<parameters.installername>>/.installationFiles | ||
cp << parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-x64/publish/<< parameters.slug >>-mac-x64.zip speckle-sharp-ci-tools/Mac/<<parameters.installername>>/.installationFiles | ||
# Create installer | ||
- run: | ||
name: Exit if External PR | ||
command: if [ "$CIRCLE_PR_REPONAME" ]; then circleci-agent step halt; fi | ||
cp << parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-arm64/<< parameters.slug >>-mac-arm64.zip speckle-sharp-ci-tools/Mac/<<parameters.installername>>/.installationFiles | ||
cp << parameters.slnname >>/<< parameters.slnname >>/bin/Release/net6.0/osx-x64/<< parameters.slug >>-mac-x64.zip speckle-sharp-ci-tools/Mac/<<parameters.installername>>/.installationFiles | ||
- run: | ||
name: Build Mac installer | ||
command: ~/.dotnet/dotnet publish speckle-sharp-ci-tools/Mac/<<parameters.installername>>/<<parameters.installername>>.sln -r osx-x64 -c Release | ||
|
@@ -511,7 +536,7 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
|
||
get-ci-tools: # Clones our ci tools and persists them to the workspace | ||
docker: | ||
- image: cimg/base:2021.01 | ||
- image: cimg/base:2024.07 | ||
steps: | ||
- add_ssh_keys: | ||
fingerprints: | ||
|
@@ -641,15 +666,15 @@ jobs: # Each project will have individual jobs for each specific task it has to | |
|
||
deploy-connectors: # Uploads all installers found to S3 | ||
docker: | ||
- image: cimg/base:2021.01 | ||
- image: cimg/base:2024.07 | ||
steps: | ||
- run: | ||
name: Proceed to deploy | ||
command: echo "This step is just here to wait for all build jobs before proceeding to deploy each of them individually. If a job fails, no connector will be deployed." | ||
|
||
notify-deploy: | ||
docker: | ||
- image: cimg/base:2021.01 | ||
- image: cimg/base:2024.07 | ||
steps: | ||
- discord/status: | ||
mentions: "1067457311980933140" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
ConnectorArchicad/AddOn/Sources/AddOn/Commands/CreateGridElement.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.