Build tictactoe #54
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 tictactoe | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up MinGW | |
run: choco install mingw | |
- name: Compile C program to .exe | |
run: x86_64-w64-mingw32-gcc -o tictactoe.exe tictactoe.c | |
- name: Upload EXE file as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: tictactoe | |
path: tictactoe.exe |