Skip to content
Closed
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
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Solution

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v6.0.2

- name: Setup .NET
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: '8.x'

- name: Restore NuGet packages
run: dotnet restore src/Ocl2CSharp.sln

- name: Build solution
run: dotnet build src/Ocl2CSharp.sln --configuration Release --no-restore



7 changes: 7 additions & 0 deletions prompts/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ The idea is that you create the functionality that gets a OCL string, converts i
- Tests should be added for some trivial cases
- A CLI should be added added for further testing

## Execution Permissions

- You are allowed to use terminal commands for validation and verification.
- After code changes, run `dotnet restore src/Ocl2CSharp.sln` and `dotnet build src/Ocl2CSharp.sln --configuration Release`.
- If tests exist, run them and report failures clearly.
- you are allowed to trigger build.yml to validate if the changes will pass in the pr

Loading