All Projects → neogeek → unity-ci-tools

neogeek / unity-ci-tools

Licence: MIT license
🔧 Bash scripts for running Unity tests on continuous integration services

Programming Languages

shell
77523 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to unity-ci-tools

Snowflake
❄️ A React-Native Android iOS Starter App/ BoilerPlate / Example with Redux, RN Router, & Jest with the Snowflake Hapi Server running locally or on RedHat OpenShift for the backend, or a Parse Server running locally or remotely on Heroku
Stars: ✭ 4,576 (+32585.71%)
Mutual labels:  bitrise
steps-install-missing-android-tools
No description or website provided.
Stars: ✭ 14 (+0%)
Mutual labels:  bitrise
steps-google-play-deploy
No description or website provided.
Stars: ✭ 40 (+185.71%)
Mutual labels:  bitrise
CIAnalyzer
A tool collecting multi CI services build data and export it for creating self-hosting build dashboard.
Stars: ✭ 52 (+271.43%)
Mutual labels:  bitrise
steps-cocoapods-install
No description or website provided.
Stars: ✭ 19 (+35.71%)
Mutual labels:  bitrise
bitrise-step-flutter
Bitrise step for Flutter
Stars: ✭ 16 (+14.29%)
Mutual labels:  bitrise
steps-git-clone
No description or website provided.
Stars: ✭ 14 (+0%)
Mutual labels:  bitrise
steps-xcode-test
Xcode Test step
Stars: ✭ 26 (+85.71%)
Mutual labels:  bitrise
steps-ios-auto-provision-appstoreconnect
No description or website provided.
Stars: ✭ 15 (+7.14%)
Mutual labels:  bitrise
stepman
Step collection manager
Stars: ✭ 23 (+64.29%)
Mutual labels:  bitrise
android-device-cleaner
Tool for cleaning up Android devices used in QA
Stars: ✭ 23 (+64.29%)
Mutual labels:  bitrise
ubereats-api
🍕 ubereats api for the ios: Express.js and Yelp api
Stars: ✭ 20 (+42.86%)
Mutual labels:  bitrise
ci-skip
CI skip comment
Stars: ✭ 35 (+150%)
Mutual labels:  bitrise
steps-fastlane
No description or website provided.
Stars: ✭ 33 (+135.71%)
Mutual labels:  bitrise
steps-carthage
Step for building dependencies with Carthage on Bitrise
Stars: ✭ 14 (+0%)
Mutual labels:  bitrise

Unity CI Tools

Bash scripts for running Unity tests on continuous integration services

Join the chat at https://discord.gg/nNtFsfd

Setup

Create a bitrise.yml File

---
format_version: "8"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
trigger_map:
  - push_branch: main
    workflow: primary
  - pull_request_source_branch: "*"
    workflow: primary
    pull_request_target_branch: main
workflows:
  primary:
    steps:
      - git-clone@6: {}
      - cache-pull@2: {}
      - script@1:
          title: Install and Test with Unity
          inputs:
            - content: |-
                #!/usr/bin/env bash
                # fail if any commands fails
                set -e
                # debug log
                set -x

                bash <(curl -fsSL https://raw.githubusercontent.com/neogeek/unity-ci-tools/v1.1.0/bin/install.sh)
                bash <(curl -fsSL https://raw.githubusercontent.com/neogeek/unity-ci-tools/v1.1.0/bin/auth.sh)
                bash <(curl -fsSL https://raw.githubusercontent.com/neogeek/unity-ci-tools/v1.1.0/bin/test.sh)
                bash <(curl -fsSL https://raw.githubusercontent.com/neogeek/unity-ci-tools/v1.1.0/bin/deauth.sh)
      - cache-push@2:
          inputs:
            - cache_paths: "$HOME/cache"
          is_always_run: true
meta:
  bitrise.io:
    machine_type: standard
    stack: osx-xcode-13.1.x

Create a Makefile File

test: SHELL:=/bin/bash
test:
  bash <(curl -fsSL https://raw.githubusercontent.com/neogeek/unity-ci-tools/v1.1.0/bin/test.sh)

clean:
  git clean -xdf

Setup Environment Variables on Bitrise

Add the following variables in the Secrets tab in the Workflow Editor section of your project on https://bitrise.io/:

Key Description Required
UNITY_SERIAL The serial key found at https://id.unity.com/en/subscriptions. Keys are only avalible with a Plus or Pro Subscription Yes
UNITY_USERNAME Your email address used to log into https://unity.com/. Yes
UNITY_PASSWORD Your password used to log into https://unity.com/. Yes
UNITY_INSTALLER_URL Full URL of editor installer. See editor installers. No
UNITY_INSTALLER_VERSION Version of editor installer. To be used with hash. See editor installers. No
UNITY_INSTALLER_HASH Hash of editor installer. To be used to version. See editor installers. No
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].