forked from alexsteb/GuitarPro-to-Midi
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ad5d8e
commit ccc09da
Showing
21 changed files
with
476 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
include: | ||
- os: ubuntu-latest | ||
dotnet-platform: linux-x64 | ||
- os: windows-latest | ||
dotnet-platform: win-x64 | ||
- os: macos-latest | ||
dotnet-platform: osx-x64 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build | ||
|
||
build-release: | ||
if: github.event_name == 'release' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
include: | ||
- os: ubuntu-latest | ||
dotnet-platform: linux-x64 | ||
- os: windows-latest | ||
dotnet-platform: win-x64 | ||
- os: macos-latest | ||
dotnet-platform: osx-x64 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '5.0.x' | ||
- name: Build self-contained binary | ||
run: dotnet publish -r ${{ matrix.dotnet-platform }} -p:PublishSingleFile=true,IncludeNativeLibrariesForSelfExtract=true --self-contained true | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: artifact_${{ matrix.dotnet-platform }} | ||
path: | | ||
./**/${{ matrix.dotnet-platform }}/publish/* | ||
!./**/*.pdb | ||
if-no-files-found: error | ||
|
||
|
||
publish-release: | ||
needs: build-release | ||
if: github.event_name == 'release' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
dotnet-platform: [linux-x64, win-x64, osx-x64] | ||
|
||
steps: | ||
- name: Download Artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: artifact_${{ matrix.dotnet-platform }} | ||
path: artifact | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: Find artifact | ||
id: find_artifact | ||
run: echo "::set-output name=artifact_path::$(find artifact -type f)" | ||
- name: Create zip archive | ||
run: zip -j guitarprotomidi_${{ matrix.dotnet-platform }}.zip ${{ steps.find_artifact.outputs.artifact_path }} | ||
- name: Upload release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: guitarprotomidi_${{ matrix.dotnet-platform }}.zip | ||
asset_name: guitarprotomidi_${{ matrix.dotnet-platform }}.zip | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bin/ | ||
obj/ | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26124.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F27A2087-5E55-4AE6-AC9E-D3A1703E5FF3}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GuitarProToMidi", "src\GuitarProToMidi.Console\GuitarProToMidi.csproj", "{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|x64.Build.0 = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Debug|x86.Build.0 = Debug|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|x64.ActiveCfg = Release|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|x64.Build.0 = Release|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|x86.ActiveCfg = Release|Any CPU | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{CBC4E1FC-BCD4-41D4-B3CB-38B8EF75C34C} = {F27A2087-5E55-4AE6-AC9E-D3A1703E5FF3} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
0
GP3File.cs → src/GuitarProToMidi.Console/GP3File.cs
100755 → 100644
File renamed without changes.
0
GP4File.cs → src/GuitarProToMidi.Console/GP4File.cs
100755 → 100644
File renamed without changes.
0
GP5File.cs → src/GuitarProToMidi.Console/GP5File.cs
100755 → 100644
File renamed without changes.
Oops, something went wrong.