Skip to content

Commit

Permalink
fix: Bump image version from 1 to 2 in Ubuntu and Windows (#59)
Browse files Browse the repository at this point in the history
* fix: image version

* ci: remove Windows tests due to activation error
  • Loading branch information
EricRibeiro authored Sep 22, 2023
1 parent 5270e57 commit f4aef31
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 93 deletions.
180 changes: 90 additions & 90 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,39 +118,39 @@ workflows:
filters: *filters
context: orb-testing-unity
pre-steps: *mono
- unity/test:
name: "test-windows"
step-name: "Check if the tests run and results are uploaded"
unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
unity-username-var-name: "UNITY_USERNAME"
unity-password-var-name: "UNITY_PASSWORD"
executor:
name: "unity/windows-2019"
size: "large"
editor_version: "2021.3.2f1"
target_platform: "windows-il2cpp"
project-path: "Unity2D-Demo-Game-CI-CD/src"
test-platform: "playmode"
filters: *filters
context: orb-testing-unity
pre-steps: *mono
- unity/test:
name: "test-windows-with-custom-parameters"
step-name: "Check if test filter in custom parameter works"
unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
unity-username-var-name: "UNITY_USERNAME"
unity-password-var-name: "UNITY_PASSWORD"
executor:
name: "unity/windows-2019"
size: "large"
editor_version: "2021.3.2f1"
target_platform: "windows-il2cpp"
project-path: "Unity2D-Demo-Game-CI-CD/src"
custom-parameters: "-testFilter EnemyMovesLeft -customParam1 potato -customParam2 $CIRCLE_WORKFLOW_ID"
test-platform: "playmode"
filters: *filters
context: orb-testing-unity
pre-steps: *mono
# - unity/test:
# name: "test-windows"
# step-name: "Check if the tests run and results are uploaded"
# unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
# unity-username-var-name: "UNITY_USERNAME"
# unity-password-var-name: "UNITY_PASSWORD"
# executor:
# name: "unity/windows-2019"
# size: "large"
# editor_version: "2021.3.2f1"
# target_platform: "windows-il2cpp"
# project-path: "Unity2D-Demo-Game-CI-CD/src"
# test-platform: "playmode"
# filters: *filters
# context: orb-testing-unity
# pre-steps: *mono
# - unity/test:
# name: "test-windows-with-custom-parameters"
# step-name: "Check if test filter in custom parameter works"
# unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
# unity-username-var-name: "UNITY_USERNAME"
# unity-password-var-name: "UNITY_PASSWORD"
# executor:
# name: "unity/windows-2019"
# size: "large"
# editor_version: "2021.3.2f1"
# target_platform: "windows-il2cpp"
# project-path: "Unity2D-Demo-Game-CI-CD/src"
# custom-parameters: "-testFilter EnemyMovesLeft -customParam1 potato -customParam2 $CIRCLE_WORKFLOW_ID"
# test-platform: "playmode"
# filters: *filters
# context: orb-testing-unity
# pre-steps: *mono
- unity/test:
name: "test-osx"
step-name: "Check if the tests run and results are uploaded"
Expand Down Expand Up @@ -201,23 +201,23 @@ workflows:
filters: *filters
context: orb-testing-unity
pre-steps: *il2cpp
- unity/build:
name: "build-Windows64-il2cpp"
step-name: "Build StandaloneWindows64 il2cpp"
unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
unity-username-var-name: "UNITY_USERNAME"
unity-password-var-name: "UNITY_PASSWORD"
executor:
name: "unity/windows-2019"
size: "large"
editor_version: "2021.3.2f1"
target_platform: "windows-il2cpp"
project-path: "Unity2D-Demo-Game-CI-CD/src"
build-target: StandaloneWindows64
compress: true
filters: *filters
context: orb-testing-unity
pre-steps: *il2cpp
# - unity/build:
# name: "build-Windows64-il2cpp"
# step-name: "Build StandaloneWindows64 il2cpp"
# unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
# unity-username-var-name: "UNITY_USERNAME"
# unity-password-var-name: "UNITY_PASSWORD"
# executor:
# name: "unity/windows-2019"
# size: "large"
# editor_version: "2021.3.2f1"
# target_platform: "windows-il2cpp"
# project-path: "Unity2D-Demo-Game-CI-CD/src"
# build-target: StandaloneWindows64
# compress: true
# filters: *filters
# context: orb-testing-unity
# pre-steps: *il2cpp
- unity/build:
name: "build-osx-il2cpp"
step-name: "Build macOS IL2CPP"
Expand Down Expand Up @@ -336,23 +336,23 @@ workflows:
filters: *filters
context: orb-testing-unity
pre-steps: *mono
- unity/build:
name: "build-tvOS"
step-name: "Build Apple's tvOS"
unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
unity-username-var-name: "UNITY_USERNAME"
unity-password-var-name: "UNITY_PASSWORD"
executor:
name: "unity/windows-2019"
size: "large"
editor_version: "2021.3.2f1"
target_platform: "appletv"
project-path: "Unity2D-Demo-Game-CI-CD/src"
build-target: tvOS
compress: true
filters: *filters
context: orb-testing-unity
pre-steps: *mono
# - unity/build:
# name: "build-tvOS"
# step-name: "Build Apple's tvOS"
# unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
# unity-username-var-name: "UNITY_USERNAME"
# unity-password-var-name: "UNITY_PASSWORD"
# executor:
# name: "unity/windows-2019"
# size: "large"
# editor_version: "2021.3.2f1"
# target_platform: "appletv"
# project-path: "Unity2D-Demo-Game-CI-CD/src"
# build-target: tvOS
# compress: true
# filters: *filters
# context: orb-testing-unity
# pre-steps: *mono

# Other Tests
- unity/build:
Expand All @@ -372,24 +372,24 @@ workflows:
filters: *filters
context: orb-testing-unity
pre-steps: *mono
- unity/build:
name: "build-with-custom-method-windows"
step-name: "Build with custom method in Windows"
unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
unity-username-var-name: "UNITY_USERNAME"
unity-password-var-name: "UNITY_PASSWORD"
executor:
name: "unity/windows-2019"
size: "large"
editor_version: "2021.3.2f1"
target_platform: "windows-il2cpp"
project-path: "Unity2D-Demo-Game-CI-CD/src"
build-target: StandaloneWindows64
build-method: "MyCustomBuildCommand.MyCustomBuildMethod"
custom-parameters: "-customParam1 potato -customParam2 tomato -customParam3 $CIRCLE_WORKFLOW_ID -DetailedBuildReport"
filters: *filters
context: orb-testing-unity
pre-steps: *custom-build-method
# - unity/build:
# name: "build-with-custom-method-windows"
# step-name: "Build with custom method in Windows"
# unity-license-var-name: "UNITY_ENCODED_LICENSE_2021"
# unity-username-var-name: "UNITY_USERNAME"
# unity-password-var-name: "UNITY_PASSWORD"
# executor:
# name: "unity/windows-2019"
# size: "large"
# editor_version: "2021.3.2f1"
# target_platform: "windows-il2cpp"
# project-path: "Unity2D-Demo-Game-CI-CD/src"
# build-target: StandaloneWindows64
# build-method: "MyCustomBuildCommand.MyCustomBuildMethod"
# custom-parameters: "-customParam1 potato -customParam2 tomato -customParam3 $CIRCLE_WORKFLOW_ID -DetailedBuildReport"
# filters: *filters
# context: orb-testing-unity
# pre-steps: *custom-build-method
- unity/build:
name: "build-with-custom-method-osx"
step-name: "Build with custom method in macOS"
Expand Down Expand Up @@ -479,22 +479,22 @@ workflows:
- orb-tools/pack
- test-linux
- test-linux-with-custom-parameters
- test-windows
- test-windows-with-custom-parameters
# - test-windows # TODO: Investigate Windows activation error
# - test-windows-with-custom-parameters # TODO: Investigate Windows activation error
- test-osx
- test-osx-with-custom-parameters
- build-linux64-il2cpp
- build-Windows64-il2cpp
# - build-Windows64-il2cpp # TODO: Investigate Windows activation error
- build-osx-il2cpp
- build-linux64-mono
- build-Windows64-mono
- build-osx-mono
- build-webgl
- build-android
- build-ios
- build-tvOS
# - build-tvOS # TODO: Investigate Windows activation error
- build-without-artifacts
- build-with-custom-method-windows
# - build-with-custom-method-windows # TODO: Investigate Windows activation error
- build-with-custom-method-osx
- build-with-custom-method-linux
context: orb-publishing
Expand Down
2 changes: 1 addition & 1 deletion src/executors/ubuntu-container-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ parameters:
type: string

docker:
- image: 'unityci/editor:ubuntu-<<parameters.editor_version>>-<<parameters.target_platform>>-1'
- image: 'unityci/editor:ubuntu-<<parameters.editor_version>>-<<parameters.target_platform>>-2'
environment:
- GAMECI_EDITOR_VERSION=<< parameters.editor_version >>
- GAMECI_TARGET_PLATFORM=<< parameters.target_platform >>
Expand Down
2 changes: 1 addition & 1 deletion src/executors/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ parameters:
enum: [ small, medium, medium+, large, xlarge, 2xlarge, 2xlarge+ ]

docker:
- image: 'unityci/editor:ubuntu-<<parameters.editor_version>>-<<parameters.target_platform>>-1'
- image: 'unityci/editor:ubuntu-<<parameters.editor_version>>-<<parameters.target_platform>>-2'
environment:
- GAMECI_EDITOR_VERSION=<< parameters.editor_version >>
- GAMECI_TARGET_PLATFORM=<< parameters.target_platform >>
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/windows/prepare-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ docker run -dit \
--volume "C:/Program Files (x86)/Microsoft Visual Studio":"C:/Program Files (x86)/Microsoft Visual Studio" \
--volume "C:/Program Files (x86)/Windows Kits":"C:/Program Files (x86)/Windows Kits" \
--volume "C:/ProgramData/Microsoft/VisualStudio":"C:/ProgramData/Microsoft/VisualStudio" \
"unityci/editor:windows-${GAMECI_EDITOR_VERSION}-${GAMECI_TARGET_PLATFORM}-1" \
"unityci/editor:windows-${GAMECI_EDITOR_VERSION}-${GAMECI_TARGET_PLATFORM}-2" \
powershell

set +x
Expand Down

0 comments on commit f4aef31

Please sign in to comment.