From f87ec12b99d0859fe4398a76d46cc3d8608c180c Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 16 Jul 2023 23:32:27 -0500 Subject: [PATCH] meta: add Woodpecker CI --- .woodpecker.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index ca23d65..de58351 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,18 +5,17 @@ workspace: # We use a singleton "matrix" to set variables, because formal variables are a # Woodpecker next feature. matrix: - 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} + 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: