33 lines
925 B
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
2020-02-24 16:42:51 +00:00
steps:
2020-02-24 16:59:19 +00:00
- uses: actions/checkout@v2
2020-02-24 17:02:01 +00:00
2020-02-24 16:57:07 +00:00
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
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
2020-02-24 16:57:07 +00:00
run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj
2020-02-24 17:08:37 +00: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