File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -90,27 +90,28 @@ jobs:
9090 python -m pip install wheel # Add other build deps if needed
9191 python -m pip install -r requirements.txt
9292
93- - name : Cache vcpkg
94- uses : actions/cache@v3
95- with :
96- path : |
97- ${{ env.VCPKG_ROOT }}/downloads
98- ${{ env.VCPKG_ROOT }}/packages
99- ${{ env.VCPKG_ROOT }}/installed
100- key : ${{ runner.os }}-vcpkg-${{ matrix.arch }}-${{ hashFiles('vcpkg.json') }}
101- restore-keys : |
102- ${{ runner.os }}-vcpkg-${{ matrix.arch }}-
93+ # - name: Cache vcpkg
94+ # uses: actions/cache@v3
95+ # with:
96+ # path: |
97+ # ${{ env.VCPKG_ROOT }}/downloads
98+ # ${{ env.VCPKG_ROOT }}/packages
99+ # ${{ env.VCPKG_ROOT }}/installed
100+ # key: ${{ runner.os }}-vcpkg-${{ matrix.arch }}-${{ hashFiles('vcpkg.json') }}
101+ # restore-keys: |
102+ # ${{ runner.os }}-vcpkg-${{ matrix.arch }}-
103103
104104 - name : Bootstrap vcpkg
105105 run : ${{ env.VCPKG_ROOT }}/bootstrap-vcpkg.sh -disableMetrics
106106
107107 - name : Install vcpkg dependencies
108108 run : |
109- ${{ env.VCPKG_ROOT }}/vcpkg install
109+ ${{ env.VCPKG_ROOT }}/vcpkg install --x-use-aria2
110110
111111 - name : Build extension
112112 run : |
113113 source .venv/bin/activate
114+ python automations/my_automator.py setup dev-env
114115 python automations/my_automator.py build so
115116 python automations/my_automator.py build wheel
116117# - name: Create universal binary
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def build_cmake_extension(self):
7272 "-DCMAKE_TOOLCHAIN_FILE=./vendor/vcpkg/scripts/buildsystems/vcpkg.cmake" ,
7373 f"-DPYTHON_VER={ tmp_python_version } " ,
7474 f"-DSHARED_SUFFIX={ tmp_cmd_suffix } " ,
75- "-DCMAKE_OSX_ARCHITECTURES=x86_64 "
75+ "-DCMAKE_OSX_ARCHITECTURES=arm64 "
7676 ]
7777
7878 # Run CMake to configure and build the extension
You can’t perform that action at this time.
0 commit comments