mrxz / webxr-linux

Repository containing efforts in getting usable WebXR under Linux
35 stars 4 forks source link

Prebuilt binaries #4

Open mrxz opened 2 years ago

mrxz commented 2 years ago

Compiling a browser is quite cumbersome. Prebuilt binaries would allow more people to test it out quickly.

Utopiah commented 2 years ago

Might be helpful, Dockerfile starting point :

FROM ubuntu:22.04
RUN apt update && apt -y install curl python3 python3-dev python3-pip mercurial
# RUN python3 -m pip install --user mercurial #skipped with system wide install
RUN curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
RUN python3 bootstrap.py --no-interactive
# might need to save answers to a file instead to avoid artifact
WORKDIR mozilla-unified
RUN ./mach build
# RUN ./mach run #trickier, not sure what's best for testing here

to potentially run as Docker container action https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action