-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: migrate to orb tools 12 * ci: exclude RC010
- Loading branch information
1 parent
1ef9fa5
commit b3c83f4
Showing
2 changed files
with
26 additions
and
29 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: 2.1 | ||
setup: true | ||
orbs: | ||
orb-tools: circleci/orb-tools@11.1 | ||
orb-tools: circleci/orb-tools@12.0 | ||
shellcheck: circleci/[email protected] | ||
|
||
filters: &filters | ||
|
@@ -16,18 +16,13 @@ workflows: | |
- orb-tools/pack: | ||
filters: *filters | ||
- orb-tools/review: | ||
exclude: RC010 | ||
filters: *filters | ||
- shellcheck/check: | ||
filters: *filters | ||
- orb-tools/publish: | ||
orb-name: game-ci/unity | ||
vcs-type: << pipeline.project.type >> | ||
requires: | ||
[orb-tools/lint, orb-tools/review, orb-tools/pack, shellcheck/check] | ||
context: orb-publishing | ||
filters: *filters | ||
- orb-tools/continue: | ||
pipeline-number: << pipeline.number >> | ||
vcs-type: << pipeline.project.type >> | ||
requires: [orb-tools/publish] | ||
filters: *filters | ||
orb_name: unity | ||
pipeline_number: << pipeline.number >> | ||
vcs_type: << pipeline.project.type >> | ||
requires: [orb-tools/lint, orb-tools/pack, orb-tools/review, shellcheck/check] | ||
filters: *filters |
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 |
---|---|---|
@@ -1,25 +1,31 @@ | ||
version: 2.1 | ||
orbs: | ||
unity: game-ci/unity@dev:<<pipeline.git.revision>> | ||
orb-tools: circleci/[email protected] | ||
orb-tools: circleci/[email protected] | ||
unity: {} | ||
|
||
filters: &filters | ||
tags: | ||
only: /.*/ | ||
|
||
release-filters: &release-filters | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ | ||
|
||
pre-steps: | ||
mono: &mono | ||
- run: | ||
name: "Clone the demo project" | ||
command: | | ||
# Clone the "mono" demo project | ||
git clone --branch master --single-branch https://github.com/EricRibeiro/Unity2D-Demo-Game-CI-CD.git ../Unity2D-Demo-Game-CI-CD | ||
# Clone the Unity orb | ||
git clone https://github.com/game-ci/unity-orb.git . | ||
# Move the demo project to the project folder | ||
mv ../Unity2D-Demo-Game-CI-CD ./Unity2D-Demo-Game-CI-CD | ||
mv ../Unity2D-Demo-Game-CI-CD ./Unity2D-Demo-Game-CI-CD | ||
il2cpp: &il2cpp | ||
- run: | ||
name: "Clone the demo project" | ||
|
@@ -31,7 +37,7 @@ pre-steps: | |
git clone https://github.com/game-ci/unity-orb.git . | ||
# Move the demo project to the project folder | ||
mv ../Unity2D-Demo-Game-CI-CD ./Unity2D-Demo-Game-CI-CD | ||
mv ../Unity2D-Demo-Game-CI-CD ./Unity2D-Demo-Game-CI-CD | ||
custom-build-method: &custom-build-method | ||
- run: | ||
name: "Clone the demo project" | ||
|
@@ -103,7 +109,7 @@ workflows: | |
filters: *filters | ||
context: orb-testing-unity | ||
pre-steps: *mono | ||
|
||
# IL2CPP Builds | ||
- unity/build: | ||
name: "build-linux64-il2cpp" | ||
|
@@ -156,7 +162,7 @@ workflows: | |
context: orb-testing-unity | ||
pre-steps: *il2cpp | ||
|
||
# Mono Builds | ||
# Mono Builds | ||
- unity/build: | ||
name: "build-linux64-mono" | ||
step-name: "Build StandaloneLinux64" | ||
|
@@ -206,7 +212,7 @@ workflows: | |
filters: *filters | ||
context: orb-testing-unity | ||
pre-steps: *mono | ||
|
||
# Other Builds | ||
- unity/build: | ||
name: "build-webgl" | ||
|
@@ -349,11 +355,11 @@ workflows: | |
pre-steps: *custom-build-method | ||
|
||
- orb-tools/pack: | ||
filters: *filters | ||
filters: *release-filters | ||
- orb-tools/publish: | ||
orb-name: game-ci/unity | ||
vcs-type: << pipeline.project.type >> | ||
pub-type: production | ||
orb_name: game-ci/unity | ||
vcs_type: << pipeline.project.type >> | ||
pub_type: production | ||
requires: | ||
- orb-tools/pack | ||
- test-linux | ||
|
@@ -374,8 +380,4 @@ workflows: | |
- build-with-custom-method-osx | ||
- build-with-custom-method-linux | ||
context: orb-publishing | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ | ||
filters: *release-filters |