Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/define ci workflow #3

Merged
merged 3 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: windows-latest

env:
Configuration: Release

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x

- name: Build & Pack
run: dotnet build --configuration $env:Configuration

- name: Test
run: dotnet test --configuration $env:Configuration --no-build
9 changes: 7 additions & 2 deletions GeneXus.Drawing-DotNet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{0AA3DD
NuGet.Config = NuGet.Config
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConfigTests", "ConfigTests", "{78EDCF29-0777-462A-9050-DED15C1AE0C0}"
ProjectSection(SolutionItems) = preProject
test\Directory.Build.props = test\Directory.Build.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Doc", "Doc", "{CCD059C7-E040-4C1E-B0E8-8EE0ADA66943}"
ProjectSection(SolutionItems) = preProject
src\PackageREADME.md = src\PackageREADME.md
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConfigTests", "ConfigTests", "{78EDCF29-0777-462A-9050-DED15C1AE0C0}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{02269C1C-4965-4883-B220-CB20C513AA1F}"
ProjectSection(SolutionItems) = preProject
test\Directory.Build.props = test\Directory.Build.props
.github\workflows\build.yml = .github\workflows\build.yml
EndProjectSection
EndProject
Global
Expand Down