From 038818ca70105b9996a7df8bffab0bd3eb2357dc Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 16 Jul 2023 23:36:29 -0500 Subject: [PATCH] meta: add Woodpecker CI --- .woodpecker.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e39f924..673b477 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,17 +5,18 @@ workspace: # We use a singleton "matrix" to set variables, because formal variables are a # Woodpecker next feature. matrix: - BUILD_NAME: [idle-survivors] - UNITY_ACTIVATION_FILE: [./unity3d.alf] - IMAGE: [unityci/editor] - IMAGE_VERSION: [1] - # 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. - # We set the version as a variable instead and check that it's right. - UNITY_VERSION: [2022.3.4f1] - UNITY_DIR: [/studio/idle-survivors] - VERSION_NUMBER_VAR: [${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}] - VERSION_BUILD_VAR: [${CI_COMMIT_HASH}] + include: + - BUILD_NAME: idle-survivors + UNITY_ACTIVATION_FILE: ./unity3d.alf + IMAGE: unityci/editor + IMAGE_VERSION: 1 + # 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. + # We set the version as a variable instead and check that it's right. + UNITY_VERSION: 2022.3.4f1 + UNITY_DIR: /studio/idle-survivors + VERSION_NUMBER_VAR: ${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER} + VERSION_BUILD_VAR: ${CI_COMMIT_HASH} pipeline: check-unity-version: