forked from RupertAvery/PSXPackager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add `msbuild.yml` and `dotnet.yml` Files for `MSBuild` and `.NET` GitHub Actions
- Loading branch information
Showing
2 changed files
with
73 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,42 @@ | ||
name: .NET | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Publish | ||
run: make | ||
|
||
- name: Tar linux-x64 files | ||
run: cd build && tar cvf linux-x64.tar linux-x64 | ||
- name: Upload linux-x64 Tar | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux-x64 | ||
path: build/linux-x64.tar | ||
- name: Tar osx-x64 files | ||
run : cd build && tar cvf osx-x64.tar osx-x64 | ||
- name: Upload osx-x64 Tar | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: osx-x64 | ||
path: build/osx-x64.tar | ||
- name: Tar osx-arm64 files | ||
run : cd build && tar cvf osx-arm64.tar osx-arm64 | ||
- name: Upload osx-arm64 Tar | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: osx-arm64 | ||
path: build/osx-arm64.tar |
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,31 @@ | ||
name: MSBuild | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
env: | ||
DOTNET_NOLOGO: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v1.1 | ||
with: | ||
msbuild-architecture: x64 | ||
|
||
- name: Publish | ||
run: .\build-all.cmd | ||
|
||
- name: Upload PsxPackagerGUI Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: PsxPackagerGUI | ||
path: build\PsxPackagerGUI\** | ||
- name: Upload win-x64 Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: win-x64 | ||
path: build\win-x64\** |