Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

ChatGPT's attempt at a workflow to build our project #1

ChatGPT's attempt at a workflow to build our project

ChatGPT's attempt at a workflow to build our project #1

Workflow file for this run

# Authored in part or whole by ChatGPT
name: Windows Build with Visual Studio
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup MSVC Build Tools
uses: microsoft/setup-msbuild@v1
- name: Run CMake configure
run: cmake -B build -S .
- name: Build project
run: cmake --build build --config Release
- name: Copy files into ZIP
run: |
cd out/build/x64-release
mkdir -p dist
cp *.dll student-sync.exe dist/
zip -r StudentSync_Win32.zip dist/
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: StudentSync_Win32
path: StudentSync_Win32.zip