# CSC : error CS4023: /platform:anycpu32bitpreferred can only be used with /t:exe, /t:winexe and /t:appcontainerexe [D:\a\pythonnet\pythonnet\src\runtime\Python.Runtime.csproj]
exclude:
- os:
category: windows
platform: x86
python: "3.13"
steps:
- name: Set Environment on macOS
uses: maxim-lobanov/setup-xamarin@v1
if: ${{ matrix.os.category == 'macos' }}
with:
mono-version: latest
- name: Checkout code
uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
architecture: ${{ matrix.os.platform }}
python-version: ${{ matrix.python }}
activate-environment: true
enable-cache: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Set Python DLL path and PYTHONHOME (non Windows)