@@ -27,53 +27,39 @@ jobs:
27
27
with :
28
28
fetch-depth : 0
29
29
30
- - name : Debug MSVC tools in PATH
30
+ - name : Set up MSVC environment
31
31
shell : cmd
32
32
run : |
33
- echo "Listing contents of C:\Program Files\Microsoft Visual Studio\..."
34
- dir "C:\Program Files\Microsoft Visual Studio\"
35
- echo ""
36
- echo "Attempting to set up MSVC environment..."
37
33
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64
38
- echo "MSVC environment setup attempted."
39
- echo ""
40
- echo "Searching for cl.exe..."
41
- where cl.exe || echo "cl.exe not found in PATH"
42
- echo "Searching for link.exe..."
43
- where link.exe || echo "link.exe not found in PATH"
44
- echo "Searching for nmake.exe..."
45
- where nmake.exe || echo "nmake.exe not found in PATH"
46
- echo "Current PATH:"
47
- echo %PATH%
34
+ echo "MSVC environment for ARM64 initialized."
48
35
49
- # Steps for building and validation are removed as per requirements
50
- # - name: Build wheels
51
-
52
- # with:
53
- # package-dir: ./ # Build from source checkout
54
- # env:
55
- # CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
56
- # CIBW_BUILD_FRONTEND: 'pip'
57
- # CIBW_PLATFORM: 'auto'
58
- # CIBW_BEFORE_BUILD_WINDOWS: bash scripts/cibw_before_build_windows.sh
59
- # CIBW_ENVIRONMENT_WINDOWS: |
60
- # CC=cl.exe
61
- # CXX=cl.exe
62
- # LD=link.exe
36
+ - name : Build wheels
37
+
38
+ with :
39
+ package-dir : ./ # Build from source checkout
40
+ env :
41
+ CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
42
+ CIBW_BUILD_FRONTEND : ' pip'
43
+ CIBW_PLATFORM : ' auto'
44
+ CIBW_BEFORE_BUILD_WINDOWS : bash scripts/cibw_before_build_windows.sh
45
+ CIBW_ENVIRONMENT_WINDOWS : |
46
+ CC=cl.exe
47
+ CXX=cl.exe
48
+ LD=link.exe
63
49
64
- # - name: Set up Python for validation
65
- # uses: mamba-org/setup-micromamba@v2
66
- # with:
67
- # environment-name: wheel-env
68
- # create-args: >-
69
- # python=3.12
70
- # wheel
71
- # cache-downloads: true
72
- # cache-environment: true
50
+ - name : Set up Python for validation
51
+ uses : mamba-org/setup-micromamba@v2
52
+ with :
53
+ environment-name : wheel-env
54
+ create-args : >-
55
+ python=${{ matrix.python[1] }}
56
+ wheel
57
+ cache-downloads : true
58
+ cache-environment : true
73
59
74
- # - name: Validate wheel RECORD
75
- # shell: bash -el {0}
76
- # run: for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
60
+ - name : Validate wheel RECORD
61
+ shell : bash -el {0}
62
+ run : for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
77
63
78
64
# Artifact upload is removed as per requirements
79
65
# - uses: actions/upload-artifact@v4
0 commit comments