meta: add Woodpecker CI

This commit is contained in:
Branden J Brown 2023-07-16 23:32:27 -05:00
parent 148e3843f6
commit f87ec12b99
1 changed files with 11 additions and 12 deletions

View File

@ -5,18 +5,17 @@ workspace:
# We use a singleton "matrix" to set variables, because formal variables are a # We use a singleton "matrix" to set variables, because formal variables are a
# Woodpecker next feature. # Woodpecker next feature.
matrix: matrix:
include: BUILD_NAME: idle-survivors
- BUILD_NAME: idle-survivors UNITY_ACTIVATION_FILE: ./unity3d.alf
- UNITY_ACTIVATION_FILE: ./unity3d.alf IMAGE: unityci/editor
- IMAGE: unityci/editor IMAGE_VERSION: 1
- IMAGE_VERSION: 1 # The GitLab version pulls the Unity version from the project information,
# The GitLab version pulls the Unity version from the project information, # but I don't think Woodpecker will use that as a variable in image names.
# but I don't think Woodpecker will use that as a variable in image names. # We set the version as a variable instead and check that it's right.
# We set the version as a variable instead and check that it's right. UNITY_VERSION: 2022.3.4f1
- UNITY_VERSION: 2022.3.4f1 UNITY_DIR: /studio/idle-survivors
- UNITY_DIR: /studio/idle-survivors VERSION_NUMBER_VAR: ${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}
- VERSION_NUMBER_VAR: ${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER} VERSION_BUILD_VAR: ${CI_COMMIT_HASH}
- VERSION_BUILD_VAR: ${CI_COMMIT_HASH}
pipeline: pipeline:
check-unity-version: check-unity-version: