2020-02-24 19:57:07 +03:00
|
|
|
name: Build All
|
2020-02-24 19:42:51 +03:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2020-02-24 19:57:07 +03:00
|
|
|
runs-on: windows-latest
|
2020-02-24 19:42:51 +03:00
|
|
|
|
|
|
|
steps:
|
2020-02-24 19:59:19 +03:00
|
|
|
- uses: actions/checkout@v2
|
2020-02-24 20:02:01 +03:00
|
|
|
|
2020-02-24 19:57:07 +03:00
|
|
|
- name: setup-msbuild
|
|
|
|
uses: microsoft/setup-msbuild@v1
|
2020-02-24 20:02:01 +03:00
|
|
|
|
2020-02-24 20:03:06 +03:00
|
|
|
- name: Restore Win64
|
2020-02-24 20:02:01 +03:00
|
|
|
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
|
2020-02-24 20:03:06 +03:00
|
|
|
- name: Restore Win32
|
2020-02-24 20:02:01 +03:00
|
|
|
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
|
2020-02-24 20:03:06 +03:00
|
|
|
- name: Restore Posix
|
2020-02-24 20:02:01 +03:00
|
|
|
run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
|
2020-02-24 19:57:07 +03:00
|
|
|
|
2020-02-24 20:08:37 +03:00
|
|
|
- name: Build Win64
|
2020-02-24 19:57:07 +03:00
|
|
|
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
|
2020-02-24 20:08:37 +03:00
|
|
|
- name: Build Win32
|
|
|
|
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj
|
|
|
|
- name: Build Posix
|
|
|
|
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: Compiled Files
|
|
|
|
path: Facepunch.Steamworks/bin
|