Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Monthly NuGet release previews#1381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
filmor merged 1 commit intomasterfromPR/NuGetMonthly
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions.github/workflows/nuget-preview.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
name: GitHub Actions

on:
schedule:
- cron: "5 4 3 */1 *" # once a month, at 4:05 on 3rd

jobs:
release:
name: Release Preview
runs-on: ubuntu-latest
environment: NuGet
timeout-minutes: 10

env:
PYTHONNET_SHUTDOWN_MODE: Normal

steps:
- name: Get Date
run: |
echo "DATE_VER=$(date "+%Y-%m-%d")" >> $GITHUB_ENV

- name: Checkout code
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64

- name: Install dependencies
run: |
pip install --upgrade -r requirements.txt

- name: Build and Install
run: |
python setup.py configure
pip install -v .

- name: Python Tests
run: pytest
env:
PYTHONNET_PYDLL: libpython3.8.so

- name: Embedding tests
run: dotnet test --runtime any-ubuntu src/embed_tests/
env:
PYTHONNET_PYDLL: libpython3.8.so

- name: Pack
run: dotnet pack --configuration Release --version-suffix preview${{env.DATE_VER}} --output "Release-Preview"

- name: Publish NuGet
run: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_MONTHLY }} Release-Preview/*.nupkg

# TODO: Run perf tests
# TODO: Run mono tests on Windows?
1 change: 1 addition & 0 deletionsDirectory.Build.props
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,6 +5,7 @@
<AssemblyCompany>pythonnet</AssemblyCompany>
<AssemblyProduct>Python.NET</AssemblyProduct>
<LangVersion>7.3</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReferenceInclude="Microsoft.CSharp"Version="4.7.0" />
Expand Down
2 changes: 1 addition & 1 deletionLICENSE
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2006-2020 the contributors of the Python.NET project
Copyright (c) 2006-2021 the contributors of the Python.NET project

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
20 changes: 8 additions & 12 deletionspythonnet.sln
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Repo", "Repo", "{441A0123-F
.editorconfig= .editorconfig
.gitignore= .gitignore
CHANGELOG.md=CHANGELOG.md
LICENSE =LICENSE
README.rst=README.rst
EndProjectSection
EndProject
Expand All@@ -30,6 +31,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CI", "CI", "{D301657F-5EAF-
ci\appveyor_build_recipe.ps1=ci\appveyor_build_recipe.ps1
ci\appveyor_run_tests.ps1=ci\appveyor_run_tests.ps1
.github\workflows\main.yml= .github\workflows\main.yml
.github\workflows\nuget-preview.yml= .github\workflows\nuget-preview.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") ="Solution Items","Solution Items","{57F5D701-F265-4736-A5A2-07249E7A4DA3}"
Expand All@@ -51,6 +53,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{BC426F42
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") ="Python.PythonTestsRunner","src\python_tests_runner\Python.PythonTestsRunner.csproj","{35CBBDEB-FC07-4D04-9D3E-F88FC180110B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") ="Build","Build","{142A6752-C2C2-4F95-B982-193418001B65}"
ProjectSection(SolutionItems) =preProject
configured.props=configured.props
Directory.Build.props=Directory.Build.props
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) =preSolution
Debug|Any CPU=Debug|Any CPU
Expand DownExpand Up@@ -145,18 +153,6 @@ Global
{F2FB6DA3-318E-4F30-9A1F-932C667E38C5}.Release|x64.Build.0=Release|Any CPU
{F2FB6DA3-318E-4F30-9A1F-932C667E38C5}.Release|x86.ActiveCfg=Release|Any CPU
{F2FB6DA3-318E-4F30-9A1F-932C667E38C5}.Release|x86.Build.0=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|Any CPU.ActiveCfg=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|Any CPU.Build.0=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|x64.ActiveCfg=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|x64.Build.0=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|x86.ActiveCfg=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Debug|x86.Build.0=Debug|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|Any CPU.ActiveCfg=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|Any CPU.Build.0=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|x64.ActiveCfg=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|x64.Build.0=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|x86.ActiveCfg=Release|Any CPU
{6CF9EEA0-F865-4536-AABA-739AE3DA971E}.Release|x86.Build.0=Release|Any CPU
{35CBBDEB-FC07-4D04-9D3E-F88FC180110B}.Debug|Any CPU.ActiveCfg=Debug|Any CPU
{35CBBDEB-FC07-4D04-9D3E-F88FC180110B}.Debug|Any CPU.Build.0=Debug|Any CPU
{35CBBDEB-FC07-4D04-9D3E-F88FC180110B}.Debug|x64.ActiveCfg=Debug|Any CPU
Expand Down
17 changes: 16 additions & 1 deletionsrc/runtime/Python.Runtime.csproj
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,21 +5,35 @@
<LangVersion>9.0</LangVersion>
<RootNamespace>Python.Runtime</RootNamespace>
<AssemblyName>Python.Runtime</AssemblyName>

<PackageId>pythonnet</PackageId>
<PackageLicenseUrl>https://github.com/pythonnet/pythonnet/blob/master/LICENSE</PackageLicenseUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/pythonnet/pythonnet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>python interop dynamic dlr Mono pinvoke</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/pythonnet/pythonnet/master/src/console/python-clear.ico</PackageIconUrl>
<PackageProjectUrl>https://pythonnet.github.io/</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Description>Python and CLR (.NET and Mono) cross-platform language interop</Description>

<DebugSymbols>true</DebugSymbols>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<NoWarn>1591;NU1701</NoWarn>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>

<IsPackable>true</IsPackable>
</PropertyGroup>

<PropertyGroup>
<DefineConstants>$(DefineConstants);$(ConfiguredConstants)</DefineConstants>
</PropertyGroup>

<ItemGroup>
<NoneInclude="..\..\LICENSE"Pack="true"PackagePath=""/>
</ItemGroup>

<ItemGroup>
<NoneRemove="resources\clr.py" />
<EmbeddedResourceInclude="resources\clr.py">
Expand All@@ -30,5 +44,6 @@
<ItemGroup>
<PackageReferenceInclude="System.Security.Permissions"Version="4.4.0" />
<PackageReferenceInclude="System.Reflection.Emit"Version="4.3.0" />
<PackageReferenceInclude="Microsoft.SourceLink.GitHub"Version="1.0.0"PrivateAssets="All" />
</ItemGroup>
</Project>

[8]ページ先頭

©2009-2025 Movatter.jp