A GitHub Action to facilitate configuring MASM (Microsoft Macro Assembler) in the workflow PATH to use x64 assembly in Win32 applications.
This action helps set up MASM into the PATH for later usage in your GitHub Actions workflows. It's particularly useful for projects that require assembly language programming on Windows platforms.
Add the following step to your workflow:
- uses: glslang/setup-masm@v1
vs-version
: The version of Visual Studio to use. Defaults to 'latest'.vs-prerelease
: Whether to include prerelease versions of Visual Studio. Defaults to 'false'.
masmPath
: The path to the MASM executable.
The MASM path is added to the PATH environment variable.
name: Build and Test
on:
push:
branches: [main]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: microsoft/[email protected]
- uses: glslang/setup-masm@v1
with:
vs-version: '2022'
vs-prerelease: 'true'
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.
This project is licensed under the MIT License. See the LICENSE file for more details.
We welcome contributions! Please read our CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
For any inquiries, please contact the maintainers of this repository.
This project was based on microsoft/setup-msbuild. Cursor AI was used to generate code and documentation.