CI Automation/windows10 aarch64: Difference between revisions

Line 28: Line 28:
This method uses a script to download test archives in order to run tests locally.
This method uses a script to download test archives in order to run tests locally.


# download <code>script for running mozhanress on Yoga</code> from [https://bugzilla.mozilla.org/show_bug.cgi?id=1520867 bug 1520867]
# download <code>script for running mozharness on Yoga</code> from [https://bugzilla.mozilla.org/show_bug.cgi?id=1520867 bug 1520867]
# place the test runner script in the <code>C:\mozilla-build</code> directory
# place the test runner script in the <code>C:\mozilla-build</code> directory
# from treeherder, identify a changeset that containes a successful <code>build-win64-aarch64/opt</code>
# from treeherder, identify a changeset that contains a successful <code>build-win64-aarch64/opt</code>
# copy the task ID of the build
# copy the task ID of the build
# invoke start-shell.bat, which will launch a bash-like command line
# invoke start-shell.bat, which will launch a bash-like commandline
# from mozilla-build directory, run the test runner script as follows:
# from mozilla-build directory, run the test runner script as follows:
<code>bash script.sh task_id test_type <chunk_to_run> <total_chunks></code>
<code>bash script.sh task_id test_type <chunk_to_run> <total_chunks></code>
Line 43: Line 43:
This method is taken from [https://www.gijsk.com/blog/2019/02/getting-firefox-artifact-builds-working-on-an-arm64-aarch64-windows-device/ this guide] and uses mozilla-central with a build artifact.
This method is taken from [https://www.gijsk.com/blog/2019/02/getting-firefox-artifact-builds-working-on-an-arm64-aarch64-windows-device/ this guide] and uses mozilla-central with a build artifact.


# invoke start-shell.bat, which will launch a bash-like command line
# invoke start-shell.bat, which will launch a bash-like commandline
# clone the repository using <code>hg clone https://hg.mozilla.org/mozilla-central/</code>
# clone the repository using <code>hg clone https://hg.mozilla.org/mozilla-central/</code>
# run </code>./mach bootstrap</code> and pick artifact build
# run </code>./mach bootstrap</code> and pick artifact build
Confirmed users
9,511

edits