Update and rename main.cpp to Makefile #11
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: Build Extreme Math for Windows | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up MinGW for Windows | |
run: | | |
choco install mingw | |
- name: Compile with g++ | |
run: | | |
g++ -o extreme_math.exe main.cpp | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: extreme-math-windows | |
path: | | |
extreme_math.exe |