Skip to content

Commit

Permalink
fix(ci): replace deprecated macos-10.15 with macos-11
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Jul 26, 2022
1 parent 69518c1 commit d26e495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
artifacts_path: build/*.deb
artifacts_slug: ubuntu-focal
qt_qpa_platform: offscreen
- name: macOS 10.15
os: macos-10.15
- name: macOS 11
os: macos-11
cmake_args: >-
-DBULK=ON
-DCOREAUDIO=ON
Expand Down
4 changes: 2 additions & 2 deletions tools/macos_buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ case "$1" in
fi
else
echo "macOS 10.13 SDK not found, downloading it..."
curl -L "https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.13.sdk.tar.xz" -o "${SDKROOT}.tar.xz"
curl -L "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.13.sdk.tar.xz" -o "${SDKROOT}.tar.xz"
OBSERVED_SHA256=$(shasum -a 256 "${SDKROOT}.tar.xz"|cut -f 1 -d' ')
EXPECTED_SHA256="a3a077385205039a7c6f9e2c98ecdf2a720b2a819da715e03e0630c75782c1e4"
EXPECTED_SHA256="1d2984acab2900c73d076fbd40750035359ee1abe1a6c61eafcd218f68923a5a"
if [[ "$OBSERVED_SHA256" == "$EXPECTED_SHA256" ]]; then
echo "Download matched expected SHA256 sum $EXPECTED_SHA256"
else
Expand Down

0 comments on commit d26e495

Please sign in to comment.