Skip to content

Commit

Permalink
Adding templates and workflows (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
IruNil6 committed Sep 15, 2024
1 parent 31d4e24 commit 5c7e8bb
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: IruNil6

---

**Version**
Type a Version of engine where you found a bug.

**Stacktrace**
Please specify the stacktrace or exceptionnumber.

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.

**Screenshots**
If applicable, add screenshots to help explain your problem.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for VoxelEngine-Sharp
title: "[FEATURE]"
labels: request
assignees: IruNil6

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
64 changes: 64 additions & 0 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: .NET Core Build Pull Request
on:
pull_request:
branches: [ "release" ]
jobs:
build-windows:
strategy:
matrix:
configuration: [Debug, Release]
name: Build-Windows
runs-on: windows-latest
env:
Solution_Name: VoxelEngine-Sharp.sln
Configuration: ${{ matrix.configuration }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install .Net Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore the application
run: dotnet restore

- name: .NET Build Client
run: dotnet build Client /p:Configuration=$env:Configuration --no-restore

- name: .NET Build Server
run: dotnet build Server /p:Configuration=$env:Configuration --no-restore

build-ubuntu:
strategy:
matrix:
configuration: [Debug, Release]
name: Build-Ubuntu
runs-on: ubuntu-latest
env:
Solution_Name: VoxelEngine-Sharp.sln
Configuration: ${{ matrix.configuration }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install .Net Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore the application
run: dotnet restore

- name: .NET Build Client
run: dotnet build Client --configuration $env:Configuration --no-restore

- name: .NET Build Server
run: dotnet build Server --configuration $env:Configuration --no-restore

0 comments on commit 5c7e8bb

Please sign in to comment.