You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/laptops-and-desktops/gh-arm-runners-win/automate-win-app.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,22 +37,35 @@ This GitHub Actions workflow [`msbuild.yml`](https://github.com/odincodeshen/Spi
37
37
38
38
Below is an explanation of the steps in the workflow:
39
39
40
-
**Trigger Events**: The workflow runs when there is a push or pull_request event on the main branch.
41
-
**Job Definition**: A single job named build is defined. It runs on the GitHub Arm-hosted Windows runner (`windows-11-arm`) as shown:
40
+
41
+
**Trigger Events**: The workflow runs when there is a push or pull_request event on the main branch.
42
+
43
+
**Job Definition**: A single job named build is defined. It runs on the GitHub Arm-hosted Windows runner (`windows-11-arm`) as shown:
44
+
42
45
```console
43
46
jobs:
44
47
build:
45
48
runs-on: windows-11-arm
46
49
```
47
-
**Checkout Repository**: Uses the `actions/checkout@v4` action to fetch the code.
48
-
**Add MSBuild to PATH**: Adds MSBuild tools for the build process using `microsoft/[email protected]`.
49
-
**Restore Dependencies**: Runs `nuget restore` to restore NuGet packages required by the solution.
50
-
**Create Download Directory**: Creates a directory to store downloaded files and verifies the Python version.
51
-
**Download ARM Performance Libraries**: Downloads the Windows installer for ARM Performance Libraries (APL) and verifies the downloaded files.
52
-
**Install ARM Performance Libraries**: Installs the downloaded ARM Performance Libraries using `msiexec.exe` with a quiet mode and logs the process.
53
-
**Check Installation Success**: Verifies the success of the APL installation by checking the exit code and logs.
54
-
**Build the Solution**: Runs MSBuild to build the solution with the specified configuration (Debug) and platform (ARM64).
55
-
**Upload Build Artifact**: Uploads the built executable as an artifact using `actions/upload-artifact@v4`.
56
-
57
-
This workflow automates the process of dependency management, environment setup, building your Windows on Arm project, and storing the final artifact all using GitHub Arm-hosted runner.
50
+
**Checkout Repository**: Uses the `actions/checkout@v4` action to fetch the code.
51
+
52
+
**Add MSBuild to PATH**: Adds MSBuild tools for the build process using `microsoft/[email protected]`.
53
+
54
+
**Restore Dependencies**: Runs `nuget restore` to restore NuGet packages required by the solution.
55
+
56
+
**Create Download Directory**: Creates a directory to store downloaded files and verifies the Python version.
57
+
58
+
**Download ARM Performance Libraries**: Downloads the Windows installer for ARM Performance Libraries (APL) and verifies the downloaded files.
59
+
60
+
**Install ARM Performance Libraries**: Installs the downloaded ARM Performance Libraries using `msiexec.exe` with a quiet mode and logs the process.
61
+
62
+
**Check Installation Success**: Verifies the success of the APL installation by checking the exit code and logs.
63
+
64
+
**Build the Solution**: Runs MSBuild to build the solution with the specified configuration (Debug) and platform (ARM64).
65
+
66
+
**Upload Build Artifact**: Uploads the built executable as an artifact using `actions/upload-artifact@v4`.
67
+
68
+
This workflow automates the process of dependency management, environment setup, building your Windows on Arm project, and storing the final artifact all using GitHub Arm-hosted runner. You can view the `Actions` logs on the repository for each step.
69
+

58
70
71
+
You have successfully built your Windows application and uploaded the application as an artifact of your workflow using the GitHub Arm-hosted Windows runner.
Copy file name to clipboardExpand all lines: content/learning-paths/laptops-and-desktops/gh-arm-runners-win/introduction.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Runners are the machines that execute jobs in a GitHub Actions workflow. An Arm-
14
14
15
15
Arm-hosted runners are available for public repositories at no cost, subject to [standard usage limits](https://docs.github.com/en/actions/administering-github-actions/usage-limits-billing-and-administration#usage-limits).
16
16
17
-
### How to Use GitHub Arm-hosted Windows Runners
17
+
### How to use GitHub Arm-hosted Windows Runners?
18
18
19
19
To leverage the GitHub Windows Arm64 hosted runners, you will need to use the following label in your public repository workflow runs:
20
20
@@ -51,7 +51,7 @@ Select the size of the large runner you need and and click `Save`.
51
51
52
52

53
53
54
-
The `Capacity` section includes the maximum concurrency, which is the number of jobs to run at the same time. Specify at least two for this Learning Path.
54
+
The `Capacity` section includes the maximum concurrency, which is the number of jobs to run at the same time.
55
55
56
56
You can also set the runner group for this runner. The runner group controls the settings for this runner. Pay attention to the runner group as you may need to return to the runner group settings if any configuration changes are needed.
0 commit comments