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
A GitHub Action to facilitate configuring MASM (Microsoft Macro Assembler) in the workflow PATH to use x64 assembly in Win32 applications.
3
+
A GitHub Action to facilitate configuring MASM (Microsoft Macro Assembler) in the workflow PATH to use x86 or x64 assembly in Win32 applications.
4
4
5
5
## Description
6
6
@@ -16,8 +16,9 @@ Add the following step to your workflow:
16
16
17
17
## Inputs
18
18
19
-
- `vs-version`: The version of Visual Studio to use. Defaults to 'latest'.
20
-
- `vs-prerelease`: Whether to include prerelease versions of Visual Studio. Defaults to 'false'.
19
+
- `vs-version`: The version of Visual Studio to use. Defaults to `'latest'`.
20
+
- `vs-prerelease`: Whether to include prerelease versions of Visual Studio. Defaults to `'false'`.
21
+
- `vs-architecture`: By default the action will use the x64 architecture for MASM, but it is possible to target the x86 versions instead. Valid input values are `'x64'` and `'x86'`. Note that the success of these will rely on the runner OS. Defaults to `'x64'`.
21
22
22
23
## Outputs
23
24
@@ -41,11 +42,12 @@ jobs:
41
42
runs-on: windows-latest
42
43
steps:
43
44
- uses: actions/checkout@v4
44
-
- uses: microsoft/setup-msbuild@v1.1
45
-
- uses: glslang/setup-masm@v1
45
+
- uses: microsoft/setup-msbuild@v2
46
+
- uses: glslang/setup-masm@v1.1
46
47
with:
47
48
vs-version: '2022'
48
49
vs-prerelease: 'true'
50
+
vs-architecture: 'x86'
49
51
```
50
52
51
53
This example demonstrates how to set up MASM in a Windows-based workflow, ensuring that the necessary tools are available for building and testing your project.
0 commit comments