Commit Graph

22 Commits

Author SHA1 Message Date
Andrew Kahr
28890ad72d Fix missing $ 2023-11-23 20:14:32 -08:00
Andrew Kahr
231e597318 Fix path variable change. Add better logging 2023-11-23 02:28:12 -08:00
Andrew Kahr
91ab33e43b Move host user specific code within if statement. Test uuid solution 2023-11-22 16:00:48 -08:00
Andrew Kahr
30b936fecb Default to root user with option to use host user 2023-11-20 19:56:48 -08:00
Andrew Kahr
1921dc4e1b Fix typo 2023-11-20 11:22:37 -08:00
Andrew Kahr
ea7ff335b7 Setup android SDK as root 2023-11-20 11:07:39 -08:00
Andrew Kahr
b9a7b93884 Allow anyone to write to stdout/stderr 2023-11-20 01:03:25 -08:00
Andrew Kahr
e8697988d7 Ensure access to /dev/stdout 2023-11-20 00:11:10 -08:00
Andrew Kahr
5921df4389 Fix params 2023-11-19 23:56:24 -08:00
Andrew Kahr
3e46dc7ae9 Wrong flag 2023-11-19 23:44:55 -08:00
Andrew Kahr
547c3a7acf Pass in env variables 2023-11-19 23:42:00 -08:00
Andrew Kahr
293d5747e6 Fix command 2023-11-19 23:38:26 -08:00
Andrew Kahr
33bdbf6aff Change entrypoint setup 2023-11-19 23:18:25 -08:00
Andrew Kahr
ce33464d31 Ensure group is created 2023-11-19 23:14:05 -08:00
Andrew Kahr
36e767467c Fix variables 2023-11-19 23:08:06 -08:00
Andrew Kahr
f1c796c83f Remove license activation dir 2023-11-19 23:00:38 -08:00
Andrew Kahr
548d06774a Use host user info derived from project directory 2023-11-19 22:59:39 -08:00
Andrew Kahr
8da77ace98
Ensure blank project files can be deleted by github runner (#599) 2023-11-16 07:36:39 -08:00
Ely Ronnen
2190fd5667
Support multiple GitHub SSH deploy keys (#568)
* add sshPublicKeysDirectoryPath and GIT_CONFIG_EXTENSIONS parameters that adds git configs and mounts .ssh/config and public keys to the container, in order to allow multiple sh deploy key trick by webplatform@ssh-agent

* remove sshPublicKeysDirectoryPath and GIT_CONFIG_EXTENSIONS from windows runner for now
2023-09-06 23:35:24 +02:00
Webber Takken
eb42a8c9b8
Update entrypoint.sh (#348)
if there is both a unity package and a test-project in one github repo, then the token generation process is created Library folder and then the build of the test project breaks. Requires a tilde to ignore Library folder in _activate-license.
Or need set the path ACTIVATE_LICENSE_PATH from the global ENV in runtime-action

Co-authored-by: Maxim Vorobyev <dolphinikk@gmail.com>
2022-02-26 19:08:42 +01:00
Frostebite
03ae77dc7c
Cloud Runner v2 (#310) 2022-02-01 02:31:20 +00:00
AndrewKahr
3d0eb0805b
Initial Support for Windows Based Builds (#305)
* Implemented logic for windows based docker builds. Moved dockerfiles and scripts to platform specific folders.

* Add missing newline character

* Add build-tests for windows and a unity project configured to output il2cpp

* Add additional build targets (uwp and tvOS)
Adjustments to build scripts to not require win10 sdk when not needed (tvOS)
Platform-based prereq setup
Setup image tags for the new platforms with errors if building on the wrong base os
Rename test-project-il2cpp to test-project-windows to be used for all windows based project building (IL2CPP backend selected instead of mono)
Fix tests to be platform based

* Update dist/platforms/windows/steps/return_license.ps1

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/docker.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/docker.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/docker.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Fix outdated repository and homepage links in dockerfiles

* Fix comment style and rename validateWindowsPrereqs to validateWindowsPlatformRequirements

* Remove redundant comment

* Remove windows unity test project, add ProjectSettings for the il2cpp backend, and add logic to replace the projectsettings file with the il2cpp one on windows test builds.

* Fix action.test.ts to accept windows as a base platform

* Fix camelcase for wsaPlayer

* Switch from add to copy in windows dockerfile

* Change slash direction

* Switch ADD to COPY to conform with best practices, change ls to dir on windows dockerfile

* Improve error message for unset UNITY_EMAIL and UNITY_PASSWORD

* Further improve missing email and password error. Remove temppaths being mounted to docker image

* Add debug statement. TODO: Remove these

* Add more debug

* Explicitly pass in unity email to docker run

* Remove debug and fix environment variables for activation/deactivation scripts

* Prevent Unity serial from leaking to console

* Debug folder listings

* More debug print dirs

* fix debug print path

* fix reg export command

* Remove debug directory listings and try setSecret to mask serial

* Update src/model/action.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/docker.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Update src/model/image-tag.ts

Co-authored-by: David Finol <davidmfinol@gmail.com>

* Update .github/workflows/build-tests.yml

Co-authored-by: David Finol <davidmfinol@gmail.com>

* Move platform validation and setup out of docker and into its own layer, remove branching on docker run command

* Fix test failure due to missing license

* Fix camelCase and duplicate variables

* Fix lint issues and make paths more understandable

* Fix typo in build-tests.yml

* Fix move command in build-tests.yml

* Different method to force move file

* Fix missing quote and backslash

* Pass unity email and password to builder action for windows build tests

* Push serial to windows test builds

* Make windows build tests only run on push to main

Co-authored-by: Webber Takken <webber.nl@gmail.com>
Co-authored-by: David Finol <davidmfinol@gmail.com>
2022-01-25 22:18:15 +01:00