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

Commit88ecef6

Browse files
committed
Revert "Merge pull request#1765 from losttech/bugs/32bit-1729"
This reverts commitab6d2c5, reversingchanges made to86c6a7f.
1 parent7247da5 commit88ecef6

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

‎.github/workflows/main.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ jobs:
1717
matrix:
1818
os:[windows, ubuntu, macos]
1919
python:["3.6", "3.7", "3.8", "3.9", "3.10"]
20-
platform:[x64, x86]
21-
exclude:
22-
-os:ubuntu
23-
platform:x86
24-
-os:macos
25-
platform:x86
20+
platform:[x64]
2621

2722
steps:
2823
-name:Set Environment on macOS
@@ -72,7 +67,6 @@ jobs:
7267
run:pytest --runtime mono
7368

7469
-name:Python Tests (.NET Core)
75-
if:${{ matrix.platform == 'x64' }}
7670
run:pytest --runtime netcore
7771

7872
-name:Python Tests (.NET Framework)
@@ -83,7 +77,7 @@ jobs:
8377
run:dotnet test --runtime any-${{ matrix.platform }} src/python_tests_runner/
8478

8579
-name:Perf tests
86-
if:${{(matrix.python == '3.8') && (matrix.platform == 'x64') }}
80+
if:${{ matrix.python == '3.8' }}
8781
run:|
8882
pip install --force --no-deps --target src/perf_tests/baseline/ pythonnet==2.5.2
8983
dotnet test --configuration Release --runtime any-${{ matrix.platform }} --logger "console;verbosity=detailed" src/perf_tests/

‎src/runtime/Native/NativeTypeSpec.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct NativeTypeSpec : IDisposable
1010
publicreadonlyStrPtrName;
1111
publicreadonlyintBasicSize;
1212
publicreadonlyintItemSize;
13-
publicreadonlyintFlags;
13+
publicreadonlyTypeFlagsFlags;
1414
publicIntPtrSlots;
1515

1616
publicNativeTypeSpec(TypeSpecspec)
@@ -20,7 +20,7 @@ public NativeTypeSpec(TypeSpec spec)
2020
this.Name=newStrPtr(spec.Name,Encoding.UTF8);
2121
this.BasicSize=spec.BasicSize;
2222
this.ItemSize=spec.ItemSize;
23-
this.Flags=(int)spec.Flags;
23+
this.Flags=spec.Flags;
2424

2525
unsafe
2626
{

‎tests/conftest.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,7 @@ def pytest_configure(config):
8686
else:
8787
domain_tests_dir=os.path.join(os.path.dirname(__file__),"domain_tests")
8888
bin_path=os.path.join(domain_tests_dir,"bin")
89-
build_cmd= ["dotnet","build",domain_tests_dir,"-o",bin_path]
90-
is_64bits=sys.maxsize>2**32
91-
ifnotis_64bits:
92-
build_cmd+= ["/p:Prefer32Bit=True"]
93-
check_call(build_cmd)
89+
check_call(["dotnet","build",domain_tests_dir,"-o",bin_path])
9490

9591

9692

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp