Skip to content

Commit e2d6dea

Browse files
final
1 parent 765419b commit e2d6dea

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

content/learning-paths/laptops-and-desktops/gh-arm-runners-win/automate-win-app.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ weight: 3
66
### FIXED, DO NOT MODIFY
77
layout: learningpathall
88
---
9+
10+
{{% notice Learning Tip %}}
911
In this section, you will learn how to automate the build process of a Windows application using GitHub Arm-hosted runners. You will use the application in the [Optimize Windows applications using Arm Performance Libraries Learning Path](/learning-paths/laptops-and-desktops/windows_armpl/).
12+
{{% /notice %}}
1013

11-
### Overview of the Windows Application
14+
### About the Windows Application
1215

1316
This section provides a basic overview of the application. For detailed build instructions, see the [Optimize Windows applications using Arm Performance Libraries Learning Path](/learning-paths/laptops-and-desktops/windows_armpl/2-multithreading/).
1417

@@ -19,10 +22,10 @@ https://github.com/arm/SpinTheCubeInGDI
1922
```
2023

2124
The application implements a spinning cube and consists of four key components:
22-
- **Shape Generation**: Generates vertices for a sphere using a golden ratio-based algorithm.
23-
- **Rotation Calculation**: Uses a rotation matrix to rotate the 3D shape around the X, Y, and Z axes.
24-
- **Drawing**: Draws the transformed vertices of the shapes on the screen using a Windows API.
25-
- **Performance Measurement**: Measures and displays the number of transforms per second.
25+
- **Shape Generation**: generates vertices for a sphere using a golden ratio-based algorithm.
26+
- **Rotation Calculation**: uses a rotation matrix to rotate the 3D shape around the X, Y, and Z axes.
27+
- **Drawing**: draws the transformed vertices of the shapes on the screen using a Windows API.
28+
- **Performance Measurement**: measures and displays the number of transforms per second.
2629

2730
The code has two options to calculate the rotation:
2831

@@ -38,32 +41,32 @@ The [GitHub Actions workflow `msbuild.yml`](https://github.com/arm/SpinTheCubeIn
3841
Below is an explanation of the steps in the workflow:
3942

4043

41-
**Trigger Events**: The workflow runs when there is a push or pull request event on the main branch.
44+
**Trigger Events**: the workflow runs when there is a push or pull request event on the main branch.
4245

43-
**Job Definition**: A single job named `build` is defined. It runs on the GitHub Arm-hosted Windows runner (`windows-11-arm`) as shown:
46+
**Job Definition**: a single job named `build` is defined. It runs on the GitHub Arm-hosted Windows runner (`windows-11-arm`) as shown:
4447

4548
```console
4649
jobs:
4750
build:
4851
runs-on: windows-11-arm
4952
```
50-
**Checkout Repository**: Uses the `actions/checkout@v4` action to fetch the code.
53+
**Checkout Repository**: uses the `actions/checkout@v4` action to fetch the code.
5154

52-
**Add MSBuild to PATH**: Adds MSBuild tools for the build process using `microsoft/[email protected]`.
55+
**Add MSBuild to PATH**: adds MSBuild tools for the build process using `microsoft/[email protected]`.
5356

54-
**Restore Dependencies**: Runs `nuget restore` to restore NuGet packages required by the solution.
57+
**Restore Dependencies**: runs `nuget restore` to restore NuGet packages required by the solution.
5558

56-
**Create Download Directory**: Creates a directory to store downloaded files and verifies the Python version.
59+
**Create Download Directory**: creates a directory to store downloaded files and verifies the Python version.
5760

58-
**Download ARM Performance Libraries**: Downloads the Windows installer for ARM Performance Libraries (APL) and verifies the downloaded files.
61+
**Download ARM Performance Libraries**: downloads the Windows installer for ARM Performance Libraries (APL) and verifies the downloaded files.
5962

60-
**Install ARM Performance Libraries**: Installs the downloaded ARM Performance Libraries using `msiexec.exe` with a quiet mode and logs the process.
63+
**Install ARM Performance Libraries**: installs the downloaded ARM Performance Libraries using `msiexec.exe` with a quiet mode and logs the process.
6164

62-
**Check Installation Success**: Verifies the success of the APL installation by checking the exit code and logs.
65+
**Check Installation Success**: verifies the success of the APL installation by checking the exit code and logs.
6366

64-
**Build the Solution**: Runs MSBuild to build the solution with the specified configuration (Debug) and platform (ARM64).
67+
**Build the Solution**: runs MSBuild to build the solution with the specified configuration (Debug) and platform (ARM64).
6568

66-
**Upload Build Artifact**: Uploads the built executable as an artifact using `actions/upload-artifact@v4`.
69+
**Upload Build Artifact**: uploads the built executable as an artifact using `actions/upload-artifact@v4`.
6770

6871
This workflow automates dependency management, environment setup, project compilation, and artifact storage - all using a GitHub Arm-hosted Windows runner.
6972

0 commit comments

Comments
 (0)