cookieofcode / hololens2-unity-uwp-starter

Starter for eased HoloLens 2 development using UWP in Unity.
MIT License
9 stars 1 forks source link

Add GitHub Action Build #2

Open danieldownes opened 2 years ago

danieldownes commented 2 years ago

Hi there!

I would love to get HoloLens2 builds working under GitHub Actions, as you almost did with: https://gist.github.com/cookieofcode/c195d642a1256d211c11aadc59a42cb8

I have tried it, and it builds the Unity project ok, but then fails when building the appx file?

It would be fantastic if you could add support for CI builds to this repo to show us how is used...

I'd happy happy to contribute some payment too as a gesture of thanks.

Thank you

cookieofcode commented 2 years ago

Hi Daniel

You may want to checkout this file, where it was used in the repository: https://github.com/cookieofcode/LabAssistVision/blob/main/.github/workflows/main.yml . Unfortunately, I do not develop with Unity at the moment and do not have a license.

The performance of building an appx file on the CI seems to be slow, you may want to have a look at: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/8901. According to the comments, it may be fixed with Unity 2020.1+.

Best Regards, cookieofcode

Am So., 27. März 2022 um 20:09 Uhr schrieb Daniel Downes < @.***>:

Hi there!

I would love to get HoloLens2 builds working under GitHub Actions, as you almost did with: https://gist.github.com/cookieofcode/c195d642a1256d211c11aadc59a42cb8

I have tried it, and it builds the Unity project ok, but then fails when building the appx file?

It would be fantastic if you could add support for CI builds to this repo to show us how is used...

I'd happy happy to contribute some payment too as a gesture of thanks.

Thank you

— Reply to this email directly, view it on GitHub https://github.com/cookieofcode/hololens2-unity-uwp-starter/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAXXHF3R7CZCTNNBFXAGFLVCCW57ANCNFSM5RZDQ3BQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

danieldownes commented 2 years ago

Hay, thank you for the reply. Yes I have been playing with that yml file. Found the issue I was having was not pulling in LFS files, new to Github CI, but enjoying the learning process.