Skip to content

Commit

Permalink
Merge pull request #1520 from dpogue/host-python2
Browse files Browse the repository at this point in the history
Enable macOS arm64 builds in CI
  • Loading branch information
Hoikas authored Nov 8, 2023
2 parents 1c4209c + 5b76aa0 commit 4247e4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
strategy:
matrix:
platform:
#- { str: macos-arm64, arch: arm64 }
- { str: macos-arm64, arch: arm64 }
- { str: macos-x64, arch: x86_64 }
cfg:
- { external: OFF, type: RelWithDebInfo, str: internal-release }
Expand All @@ -262,11 +262,11 @@ jobs:
- name: Install dependencies
run: |
brew install \
${{ (matrix.platform.arch == 'x86_64' && 'qt@5') || '' }} \
autoconf \
automake \
libtool \
nasm \
qt@5
nasm
- name: Setup NuGet
run: |
Expand Down Expand Up @@ -303,6 +303,7 @@ jobs:
cmake --build build --config "${{ matrix.cfg.type }}" -j 2
- name: Test
if: matrix.platform.arch == 'x86_64'
run: |
cmake --build build --target check --config "${{ matrix.cfg.type }}" -j 2
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Ports/python3/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if(_PythonFinder_WantLibs)
find_program(
@PythonFinder_PREFIX@_EXECUTABLE
NAMES "python" "python@PYTHON_VERSION_MAJOR@.@PYTHON_VERSION_MINOR@"
PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/tools/python3"
PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_HOST_TRIPLET}/tools/python3"
NO_DEFAULT_PATH
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Ports/python3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "python3",
"version": "3.10.7",
"port-version": 7,
"port-version": 8,
"description": "The Python programming language",
"homepage": "https://github.com/python/cpython",
"license": "Python-2.0",
Expand Down

0 comments on commit 4247e4b

Please sign in to comment.