Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-arash authored Aug 24, 2024
1 parent fb56df0 commit 8ab2283
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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++ -std=c++11 -I./src/include -o build/extreme_math src/main.cpp src/logging.cpp src/equation.cpp src/tui.cpp
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: extreme-math-windows
path: |
extreme_math.exe

0 comments on commit 8ab2283

Please sign in to comment.