Skip to content

Commit

Permalink
Final Ci changes
Browse files Browse the repository at this point in the history
  • Loading branch information
veler committed Apr 8, 2024
1 parent 38fe1d0 commit 8cc800e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_ci --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------

name: ci

on: [push]
Expand All @@ -32,7 +16,7 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
- name: 'Restore, Build and Test'
run: ./build.cmd RunTests
ubuntu-latest:
name: ubuntu-latest
Expand All @@ -47,16 +31,14 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
- name: 'Restore, Build and Test'
run: ./build.cmd RunTests
macos-latest:
name: macos-14
runs-on: macos-14
timeout-minutes: 30
steps:
- name: Print environment variables
run: env
- name: Install Xcode 15.1
- name: Set to use Xcode 15.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.1'
Expand All @@ -68,5 +50,5 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
- name: 'Restore, Build and Test'
run: ./build.cmd RunTests
10 changes: 0 additions & 10 deletions src/build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Diagnostics;
using System.Linq;
using Nuke.Common;
using Nuke.Common.CI.GitHubActions;
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
Expand All @@ -17,15 +16,6 @@
using static RestoreTask;
using Project = Nuke.Common.ProjectModel.Project;

[GitHubActions(
name: "ci",
GitHubActionsImage.WindowsLatest,
GitHubActionsImage.UbuntuLatest,
GitHubActionsImage.MacOsLatest,
On = [GitHubActionsTrigger.Push],
InvokedTargets = [nameof(RunTests)],
TimeoutMinutes = 30,
AutoGenerate = true)]
class Build : NukeBuild
{
/// Support plugins are available for:
Expand Down

0 comments on commit 8cc800e

Please sign in to comment.