Skip to content

Commit

Permalink
Mac Intel refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Dec 27, 2023
1 parent ea3538a commit 3ec7359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
Build:
runs-on: macos-11
runs-on: macos-12
defaults:
run:
shell: bash
Expand Down Expand Up @@ -48,6 +48,7 @@ jobs:
SDIST: ${{ matrix.build_sdist || 0 }}
ENABLE_HEADLESS: ${{ matrix.without_gui }}
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
_PYTHON_HOST_PLATFORM: macosx-11.0-x86_64
steps:
- name: Cleanup
run: find . -mindepth 1 -delete
Expand Down Expand Up @@ -98,7 +99,7 @@ jobs:

Test:
needs: [Build]
runs-on: macos-11
runs-on: macos-12
defaults:
run:
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions travis_osx_brew_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function _brew_parse_bottle_json {

local JSON; JSON="${1:?}"; shift

local JSON_DATA; JSON_DATA=$(python2.7 -c 'if True:
local JSON_DATA; JSON_DATA=$(python3 -c 'if True:
import sys,json; j=json.load(open(sys.argv[1],"rb")); [name]=j.keys(); [pdata]=j.values()
print name
print pdata["formula"]["pkg_version"]
Expand All @@ -292,7 +292,7 @@ function _brew_parse_package_info {
PACKAGE="${1:?}"; shift
OS_CODENAME="${1:?}"; shift

local JSON_DATA; JSON_DATA=$(python2.7 -c 'if True:
local JSON_DATA; JSON_DATA=$(python3 -c 'if True:
import sys, json, subprocess; j=json.loads(subprocess.check_output(("brew","info","--json=v1",sys.argv[1])))
data=j[0]
revision=data["revision"]
Expand Down

0 comments on commit 3ec7359

Please sign in to comment.