Skip to content

Commit

Permalink
Merge pull request #188 from hrntsm/develop
Browse files Browse the repository at this point in the history
Release v2.0.0
  • Loading branch information
hrntsm committed Sep 17, 2021
2 parents 2943bf7 + 559ce40 commit 74abccb
Show file tree
Hide file tree
Showing 179 changed files with 38,554 additions and 12,807 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Check Code Format
on: pull_request
on:
pull_request:
paths-ignore:
- "website/**"

jobs:
check:
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ develop, main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
schedule:
- cron: '16 22 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp', 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
1 change: 1 addition & 0 deletions .github/workflows/deploy-document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Deploy

on:
push:
branches: [develop]
paths:
- "website/**"

Expand Down
29 changes: 16 additions & 13 deletions .github/workflows/dotnet-grasshopper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
- "website/**"
pull_request:
branches: [main, develop]

paths-ignore:
- "website/**"

jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]

runs-on: windows-latest # For a list of available runner types, refer to
runs-on: windows-latest # For a list of available runner types, refer to

env:
Solution_Name: HoaryFox.sln
Expand Down Expand Up @@ -43,22 +45,23 @@ jobs:
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

- name: Copy karambaConnect to /HoaryFox/bin dir

- name: Copy karambaConnect and samples to /HoaryFox/bin dir
if: ${{ matrix.configuration == 'Release' }} # Only upload gha from a release build
shell: powershell
run: |
cp ./KarambaConnect/bin/KarambaConnect.gha ./HoaryFox/bin/KarambaConnect.gha
cp ./KarambaConnect/bin/STBDotNet.dll ./HoaryFox/bin/STBDotNet.dll
cp ./KarambaConnect/bin/Release/net48/KarambaConnect.gha ./HoaryFox/bin/Release/net48/KarambaConnect.gha
cp ./Samples ./HoaryFox/bin/Release/net48/Samples -recurse
cp ./LICENSE ./HoaryFox/bin/Release/net48/LICENSE
- name: Upload release build of plugin as artefact
if: ${{ matrix.configuration == 'Release' }} # Only upload gha from a release build
uses: actions/upload-artifact@v2
with:
name: HoaryFox
path: |
./HoaryFox/bin/HoaryFox.gha
./HoaryFox/bin/KarambaConnect.gha
./HoaryFox/bin/STBReader.dll
./HoaryFox/bin/STBDotNet.dll
./HoaryFox/bin/Release/net48/HoaryFox.gha
./HoaryFox/bin/Release/net48/KarambaConnect.gha
./HoaryFox/bin/Release/net48/STBDotNet.dll
./HoaryFox/bin/Release/net48/Samples/
./HoaryFox/bin/Release/net48/LICENSE
19 changes: 19 additions & 0 deletions .github/workflows/test-build-document.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test build document site

on:
pull_request:
branches: [develop]
paths:
- "website/**"

jobs:
deploy:
runs-on: ubuntu-18.04
defaults:
run:
working-directory: website

steps:
- uses: actions/checkout@v2
- run: yarn install
- run: yarn build
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,14 @@ paket-files/
__pycache__/
*.pyc
/StbData

# vscode settings
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "C:/Program Files/Rhino 6/System/Rhino.exe",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": true
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/HoaryFox/HoaryFox.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/HoaryFox/HoaryFox.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/HoaryFox/HoaryFox.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
141 changes: 0 additions & 141 deletions HoaryFox/Component/Bar/Stb2Bar.cs

This file was deleted.

0 comments on commit 74abccb

Please sign in to comment.