Skip to content

Commit

Permalink
Add GitHub Action support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Jul 1, 2024
1 parent 3231f36 commit 1117352
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/BuildBinaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Binaries

on:
push:
paths-ignore:
- '.github/*'
- '*.md'
pull_request:
paths-ignore:
- '.github/*'
- '*.md'

jobs:
build:
runs-on: windows-latest
env:
POWERSHELL_TELEMETRY_OPTOUT: 1
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: microsoft/setup-msbuild@v2
- name: Clear local NuGet cache (workaround for failed restores on windows-latest)
run: dotnet nuget locals all --clear
- name: Build
run: msbuild BuildAllTargets.proj
- name: Prepare artifacts
run: rm Output\Binaries\* -vb -Recurse -Force -Include *.exp, *.idb, *.ilk, *.iobj, *.ipdb, *.lastbuildstate, *.lib, *.obj, *.res, *.tlog
- uses: actions/upload-artifact@v4
with:
name: Mile.Cirno_CI_Build
path: Output\Binaries

0 comments on commit 1117352

Please sign in to comment.