Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Dec 13, 2024
2 parents 838761a + de1bc0e commit 65f7352
Show file tree
Hide file tree
Showing 288 changed files with 29,547 additions and 17,736 deletions.
79 changes: 39 additions & 40 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,50 @@ name: Build Yarn Spinner

on:
push:
branches: [ main, 'feature/**', 'release/**' ]
branches: [main, "feature/**", "release/**"]
pull_request:
branches: [ main, 'feature/**' ]
branches: [main, "feature/**", "release/**"]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x

- name: Fetch all commits
run: git fetch --unshallow

- uses: gittools/actions/gitversion/setup@v0.9.10
name: Install GitVersion
with:
versionSpec: '6.x'

- uses: gittools/actions/gitversion/execute@v0.9.10
name: Execute GitVersion
id: gitversion # step id used as reference for output values
with:
updateAssemblyInfo: true
- name: Print version information
run: |
echo "Major: ${{ steps.gitversion.outputs.major }}"
echo "Minor: ${{ steps.gitversion.outputs.minor }}"
echo "Patch: ${{ steps.gitversion.outputs.patch }}"
echo "MajorMinorPatch: ${{ steps.gitversion.outputs.majorMinorPatch }}"
echo "SemVer: ${{ steps.gitversion.outputs.semVer }}"
- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration Release

- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x

- name: Fetch all commits
run: git fetch --unshallow

- uses: gittools/actions/gitversion/setup@v0.9.10
name: Install GitVersion
with:
versionSpec: "6.x"

- uses: gittools/actions/gitversion/execute@v0.9.10
name: Execute GitVersion
id: gitversion # step id used as reference for output values
with:
updateAssemblyInfo: true

- name: Print version information
run: |
echo "Major: ${{ steps.gitversion.outputs.major }}"
echo "Minor: ${{ steps.gitversion.outputs.minor }}"
echo "Patch: ${{ steps.gitversion.outputs.patch }}"
echo "MajorMinorPatch: ${{ steps.gitversion.outputs.majorMinorPatch }}"
echo "SemVer: ${{ steps.gitversion.outputs.semVer }}"
- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore --configuration Release

- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
66 changes: 1 addition & 65 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,71 +30,6 @@ Network Trash Folder
Temporary Items
.apdisk

### Unity ###
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Mm]emoryCaptures/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Autogenerated Jetbrains Rider plugin
[Aa]ssets/Plugins/Editor/JetBrains*

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage
*.symbols.zip

# Crashlytics generated file
crashlytics-build.properties


### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
Expand Down Expand Up @@ -146,6 +81,7 @@ Unity/Logs

export.log

nuget/

# Auto-generated API documentation metadata
/_api/
Expand Down
8 changes: 5 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"protoc": {
"path": "/usr/local/bin/protoc",
"options": [
"-I=${workspaceRoot}/YarnSpinner",
"--csharp_out=${workspaceRoot}/YarnSpinner",
"-I=${workspaceRoot}/YarnSpinner",
"--csharp_out=${workspaceRoot}/YarnSpinner",
"${workspaceRoot}/YarnSpinner/yarn_spinner.proto"
]
},
Expand All @@ -20,4 +19,7 @@
],
"omnisharp.useModernNet": true,
"dotnet-test-explorer.testProjectPath": "**/*Tests.csproj",
"[antlr]": {
"editor.formatOnSave": false,
}
}
11 changes: 11 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "protobuf",
"command": "protoc",
"type": "process",
"args": [
"-I=${workspaceRoot}/YarnSpinner",
"--csharp_out=${workspaceRoot}/YarnSpinner",
"${workspaceRoot}/YarnSpinner/yarn_spinner.proto"
],
"problemMatcher": []
},
{
"label": "build",
"command": "dotnet",
Expand Down
Loading

0 comments on commit 65f7352

Please sign in to comment.