From e4dad008b6ef79cb531506712c5bfe216b9ef38d Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Wed, 27 Nov 2019 22:47:20 -0500 Subject: [PATCH 1/9] Configuring Github Actions --- .github/workflows/dotnetcore.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dotnetcore.yml diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml new file mode 100644 index 0000000..7cfbfd2 --- /dev/null +++ b/.github/workflows/dotnetcore.yml @@ -0,0 +1,23 @@ +name: .NET Core + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 2.2.108 + - name: Restore DotNet Tooling + run: dotnet tool restore + - name: Initialize build tooling + run: dotnet cake --bootstrap + - name: Restore Packages and Dependencies + run: dotnet restore src/SharpInputSystem.sln + - name: Build SharpInputSystem + run: dotnet cake From 76bdc1f29709f2900d9192c8997e6d1599d4c69f Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Wed, 27 Nov 2019 22:51:22 -0500 Subject: [PATCH 2/9] Update DotNet Version --- .github/workflows/dotnetcore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 7cfbfd2..a6136cd 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -12,7 +12,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 2.2.108 + dotnet-version: 3.0.100 - name: Restore DotNet Tooling run: dotnet tool restore - name: Initialize build tooling From e702b68188eaa35626b07e0a62c66cbb4b258651 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Sun, 1 Dec 2019 00:35:46 -0500 Subject: [PATCH 3/9] Add MacOS and Windows build targets --- .github/workflows/dotnetcore.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index a6136cd..5ebe304 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -4,8 +4,11 @@ on: [push] jobs: build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, windows-latest, ubuntu-18.04] - runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 From 5efd37821f33b05d1c89d18ffadf3547d7a5d4b1 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Thu, 5 Dec 2019 11:19:49 -0500 Subject: [PATCH 4/9] update strategy matrix , formatting --- .github/workflows/dotnetcore.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 5ebe304..680dbad 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -4,11 +4,10 @@ on: [push] jobs: build: - runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, windows-latest, ubuntu-18.04] - + platform: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v1 @@ -16,11 +15,11 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 3.0.100 - - name: Restore DotNet Tooling + - name: Restore dotnet tools run: dotnet tool restore - name: Initialize build tooling run: dotnet cake --bootstrap - - name: Restore Packages and Dependencies + - name: Restore packages and dependencies run: dotnet restore src/SharpInputSystem.sln - name: Build SharpInputSystem run: dotnet cake From 6b06ac60893b7a8716b0d2f724914853dd4c68e8 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Thu, 5 Dec 2019 11:33:17 -0500 Subject: [PATCH 5/9] Upgrade MSBuild.Sdk.Extras to 2.0.54 --- src/global.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global.json b/src/global.json index 9e0b625..17032b7 100644 --- a/src/global.json +++ b/src/global.json @@ -1,5 +1,5 @@ { "msbuild-sdks": { - "MSBuild.Sdk.Extras": "1.6.65" + "MSBuild.Sdk.Extras": "2.0.54" } -} \ No newline at end of file +} From 4a25a8bbe99d36c0a5fe4e39fbd83c6b9035a713 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Tue, 4 Feb 2020 22:04:50 -0500 Subject: [PATCH 6/9] remove linux, add dotnet matrix --- .github/workflows/dotnetcore.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 680dbad..1384580 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -6,15 +6,16 @@ jobs: build: strategy: matrix: - platform: [ubuntu-latest, macos-latest, windows-latest] + platform: [macos-latest, windows-latest] + dotnet: [ '3.0.100', '3.1.100' ] runs-on: ${{ matrix.platform }} - + steps: - uses: actions/checkout@v1 - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 3.0.100 + dotnet-version: ${{ matrix.dotnet }} - name: Restore dotnet tools run: dotnet tool restore - name: Initialize build tooling From 4615ff5ee71e64353ba12d74269dfd61f5e79110 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Mon, 31 May 2021 09:12:14 -0400 Subject: [PATCH 7/9] use cake action --- .github/workflows/dotnetcore.yml | 38 ++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 1384580..09e9d3b 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -6,21 +6,31 @@ jobs: build: strategy: matrix: - platform: [macos-latest, windows-latest] + platform: [macos-latest, windows-latest, ubuntu-latest] dotnet: [ '3.0.100', '3.1.100' ] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v1 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: ${{ matrix.dotnet }} - - name: Restore dotnet tools - run: dotnet tool restore - - name: Initialize build tooling - run: dotnet cake --bootstrap - - name: Restore packages and dependencies - run: dotnet restore src/SharpInputSystem.sln - - name: Build SharpInputSystem - run: dotnet cake + - name: Get the sources + uses: actions/checkout@v1 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: ${{ matrix.dotnet }} + + - name: Restore dotnet tools + run: dotnet tool restore + + - name: Initialize build tooling + uses: cake-build/cake-action@v1 + with: + cake-bootstrap: true + + - name: Restore packages and dependencies + run: dotnet restore src/SharpInputSystem.sln + + - name: Build SharpInputSystem + uses: cake-build/cake-action@v1 + with: + target: Build From 2c5805a0fbe0be66d03121a3a8be3b8656cfa79f Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Mon, 31 May 2021 09:12:49 -0400 Subject: [PATCH 8/9] upgrade to GitVersion.MSBuild 5.6.10 --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 96d7430..52b0105 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -31,7 +31,7 @@ THE SOFTWARE. - + All From e97a05ea9c7fad240b6ef1e5d0d6dfed5c445152 Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Mon, 31 May 2021 09:17:52 -0400 Subject: [PATCH 9/9] remove ubuntu --- .github/workflows/dotnetcore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 09e9d3b..9ff693d 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - platform: [macos-latest, windows-latest, ubuntu-latest] + platform: [macos-latest, windows-latest] dotnet: [ '3.0.100', '3.1.100' ] runs-on: ${{ matrix.platform }} @@ -26,7 +26,7 @@ jobs: uses: cake-build/cake-action@v1 with: cake-bootstrap: true - + - name: Restore packages and dependencies run: dotnet restore src/SharpInputSystem.sln