Add macOS Support

This commit is contained in:
Afshin Arani 2020-04-02 10:06:23 +04:30 committed by GitHub
parent e472e158e6
commit 31e2941491
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,25 @@ jobs:
mono nuget.exe install mono nuget.exe install
mono nuget.exe restore 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 # Runs a set of commands using the runners shell
- name: Build Project - name: Build Project
run: xbuild TLSharp.Core/TLSharp.Core.csproj run: xbuild TLSharp.Core/TLSharp.Core.csproj
@ -58,4 +77,3 @@ jobs:
- name: Build Project - name: Build Project
run: MSBuild TLSharp.sln run: MSBuild TLSharp.sln