diff --git a/.circleci/config.yml b/.circleci/config.yml index 28d6d9b4a4..8721df3439 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ executors: mac-arm64: macos: - xcode: "13.4.1" + xcode: "14.3.1" resource_class: macos.m1.medium.gen1 working_directory: ~/typedb-driver @@ -64,9 +64,19 @@ commands: type: string steps: - run: | - amazon-linux-extras install python3.9 java-openjdk11 -y - yum install -y git tar gcc gcc-c++ file lsof which procps - ln -s /usr/bin/python3.9 /usr/bin/python3 + amazon-linux-extras install java-openjdk11 -y + yum install wget make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel zlib-devel file lsof which procps tar git -y + + cd /tmp + wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz + tar -xvf Python-3.9.6.tgz + cd Python-3.9.6 + ./configure --enable-optimizations --enable-shared + make altinstall + echo "/usr/local/lib" >> /etc/ld.so.conf.d/python3.9.conf + ldconfig + ln -s /usr/local/bin/python3.9 /usr/bin/python3 + curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-<>" mv "bazelisk-linux-<>" /usr/local/bin/bazel chmod a+x /usr/local/bin/bazel