Skip to content

Commit

Permalink
Pivot project files
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Aug 24, 2023
0 parents commit 9fb1f1a
Show file tree
Hide file tree
Showing 130 changed files with 5,180 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
end_of_line = crlf
insert_final_newline = true
indent_style = space
indent_size = 4

# IDE0060: Remove unused parameter
dotnet_diagnostic.IDE0060.severity = warning
dotnet_diagnostic.CA1822.severity = none

[*.md]
charset = utf-8

[*.sh]
end_of_line = lf
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Ask a question
about: Ask us anything about this project.
title: "[Q&A] [FeatureName] - [Question]"
labels: ''
assignees: ''

---

### Type of question
<!-- Select the type of the question that you're going to ask here. -->
- [ ] General
- [ ] Others

### Question
<!-- Ask us a question here. Be descriptive as much as you can. -->
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/report-an-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Report an issue
about: Thank you for reporting a bug to us.
title: "[BUG] [featureName] - [issue]"
labels: ''
assignees: ''

---

### Description
<!-- Describe how this bug happened, and general information about it. Note that we only speak Arabic and English, so if you're on any other language than we know, then translate. -->
<!-- Note that you need to be as more descriptive as you can so we can understand this bug. -->


### Expected behavior
<!-- How do you expect this project to behave on the suspected component. -->


### Actual behavior
<!-- What did the suspected component do instead? -->


### Steps to reproduce
<!-- Provide clear step-by-step instructions on how do you reporduce this bug. -->
1.
1.
1.

### Version (include commit number if applicable)
<!-- This should be in this format: <Version> (<Commit>) (<Branch>). Commit number and branch required for development builds. -->
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/request-a-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Request a feature
about: Suggest an idea to us.
title: "[ADD] [FeatureName] - [Feature]"
labels: ''
assignees: ''

---

### Description of new feature
<!-- Explain about a new feature here. -->


### What does it add?
- [ ] New API functions
- [ ] New extensions
- [ ] New implementations
- [ ] Others

### Have you tried doing it?
21 changes: 21 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### Description
<!-- Describe how this bug happened, and general information about it. Note that we only speak Arabic and English, so if you're on any other language than we know, then translate. -->
<!-- Note that you need to be as more descriptive as you can so we can understand this bug. -->


### Expected behavior
<!-- How do you expect this project to behave on the suspected component. -->


### Actual behavior
<!-- What did the suspected component do instead? -->


### Steps to reproduce
<!-- Provide clear step-by-step instructions on how do you reporduce this bug. -->
1.
1.
1.

### Version (include commit number if applicable)
<!-- This should be in this format: <Version> (<Commit>) (<Branch>). Commit number and branch required for development builds. -->
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Description
<!-- Describe about your pull request. Note that you need to be as more descriptive as you can so we can understand this request. -->


## Change type
<!-- Specify what kind of changes you made. -->
- [ ] Bug fixes
- [ ] Performance improvements
- [ ] Feature changes
- [ ] Behavioral changes
- [ ] Other (specify)

## Tested?
<!-- Have you tested your changes? -->
- [ ] Yes, I have
- [ ] No, I haven't
- [ ] Not sure

## Specify other changes
<!-- Specify the changes that wouldn't fit into the selection. -->
47 changes: 47 additions & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build Project (Linux)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
run: dotnet test --configuration Debug
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: bb-build
path: "BassBoom.Desktop/bin/Debug/"

notify:

runs-on: ubuntu-latest
needs:
- build
if: ${{ always() }}

steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.G_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

47 changes: 47 additions & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build Project (macOS)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
run: dotnet test --configuration Debug
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: bb-build
path: "BassBoom.Desktop/bin/Debug/"

notify:

runs-on: ubuntu-latest
needs:
- build
if: ${{ always() }}

steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.G_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

47 changes: 47 additions & 0 deletions .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build Project (Windows)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
run: dotnet test --configuration Debug
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: bb-build
path: "BassBoom.Desktop/bin/Debug/"

notify:

runs-on: ubuntu-latest
needs:
- build
if: ${{ always() }}

steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.G_TOKEN }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

28 changes: 28 additions & 0 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: KS API Documentation

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: "Make API Reference"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Fetching the KS source
- uses: "AptiviCEO/docfx-action@master"
name: Generating documentation
with:
args: DocGen/docfx.json
- name: Saving changes to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
commit_message: "Updated documentation to reflect latest changes"
personal_token: ${{ secrets.DOCGEN_TOKEN }}
publish_dir: ./docs/
publish_branch: gh-pages
26 changes: 26 additions & 0 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: NuGet Gallery Push

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Solution Compilation
run: dotnet build --configuration Release
- name: Package Publication (Basolia)
run: dotnet nuget push "BassBoom.Basolia/bin/Release/*.symbols.nupkg" --api-key ${{ secrets.NUGET_APIKEY }} --source "nuget.org"
- name: Package Publication (Native)
run: dotnet nuget push "BassBoom.Native/bin/Release/*.symbols.nupkg" --api-key ${{ secrets.NUGET_APIKEY }} --source "nuget.org"

Loading

0 comments on commit 9fb1f1a

Please sign in to comment.