Skip to content

Commit

Permalink
Merge pull request #42 from silnrsi/AddPython3
Browse files Browse the repository at this point in the history
Add python3
  • Loading branch information
devosb authored Mar 11, 2024
2 parents a9566f6 + 8297090 commit 767869c
Show file tree
Hide file tree
Showing 335 changed files with 35,449 additions and 6,085 deletions.
70 changes: 66 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
fail-fast: false
matrix:
build_configuration: ["Debug", "Release"]
build_platform: ["Win32", "x64"]

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@v2

- name: Fetch nuget dependecies
run: nuget restore "${{env.SOLUTION_FILE_PATH}}"
Expand All @@ -36,7 +37,62 @@ jobs:
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{matrix.build_configuration}} "${{env.SOLUTION_FILE_PATH}}"
run: msbuild /m /p:Configuration=${{matrix.build_configuration}} /p:Platform=${{ matrix.build_platform }} "${{env.SOLUTION_FILE_PATH}}"

- name: List Files in Repository
run: dir /s
shell: cmd

- uses: actions/[email protected]
with:
name: build-artifacts-${{ matrix.build_platform }}-${{ matrix.build_configuration }}
path: |
output\${{ matrix.build_platform }}\${{ matrix.build_configuration }}\*.exe
output\${{ matrix.build_platform }}\${{ matrix.build_configuration }}\*.dll
output\${{ matrix.build_platform }}\${{ matrix.build_configuration }}\*.tlb
output\${{ matrix.build_platform }}\${{ matrix.build_configuration }}\*.config
output\MergeModules\**\*.*
retention-days: 1
publish_nuget:
needs: build-windows
runs-on: windows-2019
strategy:
# Keep building other jobs even if another fails, to show what _is_ still working.
fail-fast: false
matrix:
build_configuration: ["Release"]

steps:
- name: Checkout
uses: actions/[email protected]

- name: Download all workflow run artifacts
uses: actions/[email protected]

- name: Get Folder Names
id: get-folders
run: |
$folderNames = Get-ChildItem -Directory -Path . | Where-Object { $_.Name -like 'build-artifacts-*' } | Select-Object -ExpandProperty Name
$folderNames
foreach ($folderName in $folderNames) {
$source = "$folderName\*.*"
"xcopy /s /y $source .\"
xcopy /s /y $source .\
}
- name: List Files in Repository
run: dir /s
shell: cmd

- name: Create NuGet Package
run: nuget pack ./Package.${{matrix.build_configuration}}.nuspec -OutputDirectory ./output/${{matrix.build_configuration}}

- name: Upload NuGet Package as Artifact
uses: actions/[email protected]
with:
name: ${{matrix.build_configuration}}-nuget-package
path: ./output/${{matrix.build_configuration}}/*.nupkg

# TODO Run tests
#- name: Test
Expand All @@ -59,7 +115,13 @@ jobs:
run: sudo apt-get install --assume-yes automake g++ python2-dev python2 libicu-dev mono5-sil icu-dev-fw libteckit-dev

- name: Checkout
uses: actions/checkout@v2
uses: actions/[email protected]

- name: List Files in Repository
run: ls -R

- name: Restore NuGet Packages
run: nuget restore "${{env.SOLUTION_FILE_PATH}}"

- name: Autogen
run: . environ && ./autogen.sh
Expand Down
1,477 changes: 0 additions & 1,477 deletions EncConverters 2015.sln

This file was deleted.

39 changes: 36 additions & 3 deletions EncConverters 2019.sln
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ECFileConverter 2010", "src
ProjectSection(ProjectDependencies) = postProject
{2935E02F-43ED-4670-9A00-A91B0AD3D66C} = {2935E02F-43ED-4670-9A00-A91B0AD3D66C}
{3E4B908A-4F96-43C5-981B-1AA4B73CCC26} = {3E4B908A-4F96-43C5-981B-1AA4B73CCC26}
{D1BAE593-A552-4F1A-8B08-5A1C27875C2F} = {D1BAE593-A552-4F1A-8B08-5A1C27875C2F}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AIGuesserEC 2010", "src\AIGuesserEC\AIGuesserEC 2010.csproj", "{B718B5F3-A49A-454C-84FD-6D6F59EC7410}"
Expand All @@ -42,6 +43,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilIndicEncConverters 2010"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ECDriver", "src\ECDriver\windows\ECDriver 2010.vcxproj", "{1AE110F1-E97B-4D14-9F3A-8AF01344E3B9}"
ProjectSection(ProjectDependencies) = postProject
{1E45DBF2-3629-4413-AC1F-61E6AA33B9B6} = {1E45DBF2-3629-4413-AC1F-61E6AA33B9B6}
{2935E02F-43ED-4670-9A00-A91B0AD3D66C} = {2935E02F-43ED-4670-9A00-A91B0AD3D66C}
{3E4B908A-4F96-43C5-981B-1AA4B73CCC26} = {3E4B908A-4F96-43C5-981B-1AA4B73CCC26}
EndProjectSection
Expand Down Expand Up @@ -153,7 +155,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.github\workflows\build.yml = .github\workflows\build.yml
build\Encoding-Converters-Core.props = build\Encoding-Converters-Core.props
Package.nuspec = Package.nuspec
Package.Debug.nuspec = Package.Debug.nuspec
Package.Release.nuspec = Package.Release.nuspec
EndProjectSection
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "EcFolderACLsMM", "installer\EcFolderACLsMM\EcFolderACLsMM.wixproj", "{F7483CF4-5AB5-4E62-B87E-A6A88EC228DC}"
Expand Down Expand Up @@ -190,16 +193,22 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EcTranslators", "src\EcTran
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "EcTranslatorsMM", "installer\EcTranslatorsMM\EcTranslatorsMM.wixproj", "{9FAB4338-F089-4279-A5DF-AF5FC0368783}"
ProjectSection(ProjectDependencies) = postProject
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE} = {4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}
{C4D0AA5B-F319-4E06-A982-A52E79EB57DC} = {C4D0AA5B-F319-4E06-A982-A52E79EB57DC}
EndProjectSection
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "EcTranslators64bitMM", "installer\EcTranslators64bitMM\EcTranslators64bitMM.wixproj", "{9628E44E-C407-4EA3-95AF-C7E4310EB9D3}"
ProjectSection(ProjectDependencies) = postProject
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE} = {4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}
{C4D0AA5B-F319-4E06-A982-A52E79EB57DC} = {C4D0AA5B-F319-4E06-A982-A52E79EB57DC}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BackTranslationHelper", "src\BackTranslationHelper\BackTranslationHelper.csproj", "{3E74CE98-6558-4AF0-BB0C-C7E436208B1B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureOpenAiExe", "src\EcTranslators\AzureOpenAi\AzureOpenAiExe\AzureOpenAiExe.csproj", "{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VertexAiExe", "src\EcTranslators\VertexAi\VertexAiExe\VertexAiExe.csproj", "{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Expand Down Expand Up @@ -493,8 +502,8 @@ Global
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Release|x64.Build.0 = Release|x64
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|Win32.ActiveCfg = Release|x86
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|Win32.Build.0 = Release|x86
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|x64.ActiveCfg = Release|x86
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|x64.Build.0 = Release|x86
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|x64.ActiveCfg = Release|x64
{4BF6846B-4DB1-4C91-9435-43E1077BEEE4}.Template|x64.Build.0 = Release|x64
{8C8AF4F6-2E50-4195-BDBE-499CE90E52CA}.Debug|Win32.ActiveCfg = Debug|x64
{8C8AF4F6-2E50-4195-BDBE-499CE90E52CA}.Debug|x64.ActiveCfg = Debug|x64
{8C8AF4F6-2E50-4195-BDBE-499CE90E52CA}.Release|Win32.ActiveCfg = Release|x64
Expand Down Expand Up @@ -618,6 +627,30 @@ Global
{3E74CE98-6558-4AF0-BB0C-C7E436208B1B}.Template|Win32.Build.0 = Debug|x86
{3E74CE98-6558-4AF0-BB0C-C7E436208B1B}.Template|x64.ActiveCfg = Debug|x64
{3E74CE98-6558-4AF0-BB0C-C7E436208B1B}.Template|x64.Build.0 = Debug|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Debug|Win32.ActiveCfg = Debug|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Debug|Win32.Build.0 = Debug|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Debug|x64.ActiveCfg = Debug|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Debug|x64.Build.0 = Debug|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Release|Win32.ActiveCfg = Release|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Release|Win32.Build.0 = Release|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Release|x64.ActiveCfg = Release|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Release|x64.Build.0 = Release|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Template|Win32.ActiveCfg = Debug|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Template|Win32.Build.0 = Debug|x86
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Template|x64.ActiveCfg = Debug|x64
{4F6FF8AD-6BEB-4104-B123-7FA9C2DC0BBE}.Template|x64.Build.0 = Debug|x64
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Debug|Win32.ActiveCfg = Debug|x86
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Debug|Win32.Build.0 = Debug|x86
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Debug|x64.ActiveCfg = Debug|x64
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Debug|x64.Build.0 = Debug|x64
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Release|Win32.ActiveCfg = Release|x86
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Release|Win32.Build.0 = Release|x86
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Release|x64.ActiveCfg = Release|x64
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Release|x64.Build.0 = Release|x64
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Template|Win32.ActiveCfg = Debug|Any CPU
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Template|Win32.Build.0 = Debug|Any CPU
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Template|x64.ActiveCfg = Debug|Any CPU
{5E1021B4-61AE-4E96-8D5A-7CDF6D5F7982}.Template|x64.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading

0 comments on commit 767869c

Please sign in to comment.