-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1272 from Arcnor/enable_CI
Enable CI & build Glue
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: FlatRedBall | ||
|
||
on: | ||
push: | ||
branches: [ "NetStandard" ] | ||
pull_request: | ||
branches: [ "NetStandard" ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
configuration: [Debug, Release] | ||
|
||
runs-on: windows-latest # For a list of available runner types, refer to | ||
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | ||
steps: | ||
- name: Checkout FRB | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
path: 'FRB' | ||
|
||
- name: Checkout Gum | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.repository_owner }}/Gum | ||
fetch-depth: 1 | ||
path: 'Gum' | ||
|
||
# Install the .NET Core workload | ||
- name: Install .NET Core | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | ||
- name: Setup MSBuild.exe | ||
uses: microsoft/[email protected] | ||
|
||
- name: Build | ||
run: dotnet build -c ${{ matrix.configuration }} 'FRB\FRBDK\Glue\Glue with All.sln' | ||
|
||
- name: Package | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.configuration }} | ||
path: FRB/FRBDK/Glue/Glue/bin/${{ matrix.configuration }} |