game-ci / unity-test-runner

Run tests for any Unity project
https://github.com/marketplace/actions/unity-test-runner
MIT License
205 stars 135 forks source link

Add support for macos #211

Open Kariaro opened 1 year ago

Kariaro commented 1 year ago

Context I need to test that external libraries work in Windows, Linux and Macos.

Currently macos is not supported. That's why I'm making this issue

Suggested solution

Copy code from game-ci/unity-builder that handles darwin systems and use it in this repository

Additional details

I'm going to try make a PR for this issue myself and will clone this repository to start testing

webbertakken commented 1 year ago

Yup! We support this approach and accept contributions.

Kariaro commented 1 year ago

I'm currently looking at the generated docker images for macos but I don't see any here: https://github.com/game-ci/docker/tree/main/images/macos

Should I copy the MacBuilder concept from https://github.com/game-ci/unity-builder/blob/main/src/model/mac-builder.ts and apply it so that if process.platform === 'darwin' I jump to the MacTestRunner instead?

davidmfinol commented 1 year ago

That's right, there are no docker images for macos, so you would likely need to copy the relevant typescript code from unity-builder.

MichaelGlaive commented 1 month ago

Any news here? Any help needed?