Create FUNDING.yml #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile | |
on: | |
push: | |
jobs: | |
windows: | |
name: run on windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install NASM | |
run: | | |
cmd.exe /c my_download_nasm.bat | |
- uses: ilammy/[email protected] | |
- uses: suisei-cn/[email protected] | |
id: downloadfile # Remember to give an ID if you need the output filename | |
name: Download the nasm.props | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.props' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile2 # Remember to give an ID if you need the output filename | |
name: Download the nasm.targets | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.targets' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile3 # Remember to give an ID if you need the output filename | |
name: Download the nasm.xml | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.xml' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile4 # Remember to give an ID if you need the output filename | |
name: Download the nasm.props | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.props' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v160\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile5 # Remember to give an ID if you need the output filename | |
name: Download the nasm.targets | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.targets' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v160\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile6 # Remember to give an ID if you need the output filename | |
name: Download the nasm.xml | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.xml' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v160\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile7 # Remember to give an ID if you need the output filename | |
name: Download the nasm.props | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.props' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v150\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile8 # Remember to give an ID if you need the output filename | |
name: Download the nasm.targets | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.targets' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v150\BuildCustomizations\' | |
- uses: suisei-cn/[email protected] | |
id: downloadfile9 # Remember to give an ID if you need the output filename | |
name: Download the nasm.xml | |
with: | |
url: 'https://raw.githubusercontent.com/ShiftMediaProject/VSNASM/master/nasm.xml' | |
target: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v150\BuildCustomizations\' | |
- name: compile | |
run: | | |
cd WhatAboutSAM; MSBuild.exe /t:Rebuild /p:Configuration=Release .\WhatAboutSAM.sln | |
- name: upload executable | |
uses: actions/upload-artifact@v2 | |
with: | |
name: WhatAboutSAM.exe | |
path: | | |
WhatAboutSAM\x64\Release\WhatAboutSAM.exe |