mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Add macOS Support
This commit is contained in:
parent
e472e158e6
commit
31e2941491
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
|
@ -31,6 +31,25 @@ jobs:
|
|||
mono nuget.exe install
|
||||
mono nuget.exe restore
|
||||
|
||||
# Runs a set of commands using the runners shell
|
||||
- name: Build Project
|
||||
run: xbuild TLSharp.Core/TLSharp.Core.csproj
|
||||
macos:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: macos-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
- name: Download latest NuGet (cross-platform)
|
||||
uses: olegtarasov/download-nuget@v1
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
mono $NUGET_EXE install
|
||||
mono $NUGET_EXE restore
|
||||
|
||||
# Runs a set of commands using the runners shell
|
||||
- name: Build Project
|
||||
run: xbuild TLSharp.Core/TLSharp.Core.csproj
|
||||
|
|
@ -58,4 +77,3 @@ jobs:
|
|||
- name: Build Project
|
||||
run: MSBuild TLSharp.sln
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue