GithubHelp home page GithubHelp logo

isabella232 / unity3d-windows-build-scripts-drafts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from game-ci/unity3d-windows-build-scripts-drafts

0.0 0.0 0.0 15 KB

License: MIT License

Shell 26.66% PowerShell 35.93% JavaScript 37.42%

unity3d-windows-build-scripts-drafts's Introduction

Unity3d windows build scripts drafts

These are some scripts here and there I tried in some CI. These are mainly to support a conversation in the following issue:
game-ci/unity-builder#82

github-actions-windows-jessetg

These are some files shared by JesseTG which could also come handy if you intend to build unity things on a windows runner some day โœŒ๏ธ. Note: building from a windows runner can also build for different platforms such as macOS, Linux, etc.

github-actions-windows-jessetg/index.js should work on macOS and Linux runners. But it's subject to Unity's technical constraints. ๐Ÿ‘ This script was mainly written for Jessetg's needs:

  • It's more geared towards self-hosted runners than the GitHub-hosted environment
  • Some arguments are for Trimmer support; if you're not using Trimmer, simply don't use those flags

Once TG's project (and its accompanying infrastructure) is more battle-tested he intends to release (a better version of) this script in a more polished package. โค

Is this any good?

Yes, kind of, but some problems we may encounter with windows is the following issue:
https://issuetracker.unity3d.com/issues/command-line-logfile-with-no-parameters-outputs-to-screen-on-os-x-but-not-on-windows

tldr; unity on windows doesn't support stdout properly so we endup with the need to do weird things like these:

It should work, but there's definitely place for improvement. You may not be able to get live output log out of your runner (github actions or gitlab-ci) when using a windows machine. If you ever find a solution to this, please let us know! ๐Ÿ‘€

Why not a gist?

I could have created a gist for these, but I think I still don't receive notifications out of gists and they're only repos with less features so here are some scripts.

License

MIT ยฉ Gabriel Le Breton

unity3d-windows-build-scripts-drafts's People

Contributors

gableroux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.