43 lines
1.4 KiB
YAML
Raw Normal View History

2020-02-24 16:57:07 +00:00
name: Build All
2020-02-24 16:42:51 +00:00
on: [push]
jobs:
build:
2020-02-24 16:57:07 +00:00
runs-on: windows-latest
2021-09-09 19:38:52 -05:00
2020-02-24 16:42:51 +00:00
steps:
2020-02-24 16:59:19 +00:00
- uses: actions/checkout@v2
2021-09-09 19:42:30 -05:00
- name: Setup dotnet 6.0.x
2021-09-09 19:38:52 -05:00
uses: actions/setup-dotnet@v1
with:
2021-09-09 19:42:30 -05:00
dotnet-version: '6.0.x'
include-prerelease: true
2020-02-24 17:02:01 +00:00
2020-02-24 17:03:06 +00:00
- name: Restore Win64
2020-02-24 17:02:01 +00:00
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
2020-02-24 17:03:06 +00:00
- name: Restore Win32
2020-02-24 17:02:01 +00:00
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
2020-02-24 17:03:06 +00:00
- name: Restore Posix
2020-02-24 17:02:01 +00:00
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
2020-02-24 16:57:07 +00:00
2020-02-24 17:08:37 +00:00
- name: Build Win64
2021-09-09 19:45:31 -05:00
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
2020-02-24 17:08:37 +00:00
- name: Build Win32
2021-09-09 19:45:31 -05:00
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
2020-02-24 17:08:37 +00:00
- name: Build Posix
2021-09-09 19:45:31 -05:00
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
2023-06-09 09:49:07 +02:00
- name: Build Win64 Release
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj --configuration Release
- name: Build Win32 Release
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj --configuration Release
- name: Build Posix Release
run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj --configuration Release
2020-02-24 17:08:37 +00:00
- uses: actions/upload-artifact@v1
with:
name: Compiled Files
2021-09-09 19:38:52 -05:00
path: Facepunch.Steamworks/bin