diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f8ef09..1191346 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,25 @@ jobs: - name: Test run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal + macBuild: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 6.0.x + 8.0.x + - name: Install dependencies + run: dotnet restore src/GeoJSON.Net.sln + - name: Build + run: dotnet build src/GeoJSON.Net.sln -c Release --no-restore -p:Version=$(git describe --tags) + - name: Test + run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal + winBuild: runs-on: windows-latest steps: