Skip to content

Commit

Permalink
ci: use macOS 14 as macOS 12 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Dec 19, 2024
1 parent c14b748 commit 52aafd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2019, macos-12]
os: [ubuntu-22.04, windows-2019, macos-14]

steps:
- name: Checkout rz-bindgen
Expand Down
11 changes: 7 additions & 4 deletions cibw_before_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,28 @@ if command -v apt; then
echo "Acquire::Check-Valid-Until no;" > /etc/apt/apt.conf.d/99no-check-valid-until
fi
set -e
apt update && apt install --assume-yes libclang-7-dev clang-7 llvm-7
apt update && apt install --assume-yes libclang-7-dev clang-7 llvm-7 sudo
elif command -v apk; then
apk update && apk add clang-dev
apk update && apk add clang-dev sudo
elif command -v yum; then
yum -y install llvm-toolset-7.0 llvm-toolset-7.0-llvm-devel
yum -y install llvm-toolset-7.0 llvm-toolset-7.0-llvm-devel sudo
# (CentOS 7) Uncomment following lines to see required paths in build log:
# yum -y install centos-release-scl
# source scl_source enable llvm-toolset-7.0 || true
elif command -v brew; then
brew install --require-sha swig
fi

pushd rizin

if [[ "$OSTYPE" =~ msys* ]]; then
meson setup --buildtype=release --prefix='c:/rizin' --vsenv build
meson install -C build
else
meson setup --buildtype=release --libdir=lib build
sudo meson install -C build
fi

meson install -C build
popd

if command -v apt; then
Expand Down

0 comments on commit 52aafd5

Please sign in to comment.