Skip to content

Commit 45bae68

Browse files
authored
Merge pull request #793 from chfl4gs/dev
Replaced homebrew with macport
2 parents 2b50220 + 9e1a019 commit 45bae68

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.circleci/config.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,31 @@ jobs:
55
macos:
66
xcode: 10.1
77
environment:
8-
HOMEBREW_NO_AUTO_UPDATE: 1
98
MACOSX_DEPLOYMENT_TARGET: 10.13.6
109
steps:
1110
- checkout
1211
- run:
13-
name: "Install wget"
12+
name: "Install cmake"
1413
command: |
15-
brew install wget cmake
14+
curl -OL https://distfiles.macports.org/MacPorts/MacPorts-2.6.4-10.13-HighSierra.pkg
15+
sudo installer -pkg MacPorts-2.6.4-10.13-HighSierra.pkg -target /
16+
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
17+
sudo port -q -N install cmake pkgconfig
1618
1719
- restore_cache:
1820
keys:
19-
- python-{{ .Environment.CIRCLE_JOB }}-3.7.0-macos-10.13.6
21+
- python-{{ .Environment.CIRCLE_JOB }}-3.7-macports-macos-10.13.6
2022

21-
- run:
23+
- run:
2224
name: "Install qiling framework"
2325
command: |
26+
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
2427
pip3 install --upgrade pip
2528
pip3 install wheel setuptools
2629
pip3 install .
2730
cd examples
2831
rm -rf rootfs
29-
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
32+
curl -OL https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
3033
unzip master.zip && mv rootfs-master rootfs
3134
cd .. && ./examples/scripts/dylibcollector.sh
3235
cd examples/rootfs/x8664_macos/kext
@@ -35,7 +38,8 @@ jobs:
3538
- save_cache:
3639
paths:
3740
- ~/Library/Caches/pip
38-
key: python-{{ .Environment.CIRCLE_JOB }}-3.7.0-macos-10.13.6
41+
- /opt/local
42+
key: python-{{ .Environment.CIRCLE_JOB }}-3.7-macports-macos-10.13.6
3943

4044
- run:
4145
name: "Run macos test"

0 commit comments

Comments
 (0)