Skip to content

Commit

Permalink
Add GitHub Actions build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Oct 1, 2024
1 parent 167c45f commit fa151f1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
windows:
name: ${{ matrix.Configuration }} ${{ matrix.Platform }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
Configuration: [.NET Debug, .NET Release, Debug, Release, Unicode Debug, Unicode Release]
Platform: [x64, Win32]
steps:
- uses: actions/checkout@main
- uses: microsoft/setup-msbuild@main

- name: Build
run: msbuild /m /p:Configuration="${{ matrix.Configuration }}" /p:Platform="${{ matrix.Platform }}" source/BugTrap.sln
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# exclude all dot files except .gitignore
.*
!.gitignore
!.github

# exclude binaries and temporary files
bin/
Expand Down

0 comments on commit fa151f1

Please sign in to comment.