Skip to content

Commit

Permalink
Rework cirrus env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Oct 10, 2024
1 parent edb65b1 commit 215749d
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS
wheels_artifacts:
path: "wheelhouse/*"

env:
VCPKG_INSTALLED_DIR: /tmp/vcpkg_installed
CIBW_BUILD_FRONTEND: build
CIBW_BEFORE_ALL_LINUX: yum install -y zip flex bison gcc-gfortran
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
auditwheel repair -w {dest_dir} {wheel}
--exclude libarrow_python.so
--exclude libarrow.so.1601
# There's no python-casacore wheel for amd64-linux or macosx
CIBW_TEST_COMMAND_LINUX: python -c "from arcae.testing import sanity; sanity()"

linux_aarch64_task:
name: Build linux amd64 ${PYTHON_VERSION_NAME} manylinux_2_28 wheel
compute_engine_instance:
Expand Down Expand Up @@ -43,8 +31,18 @@ linux_aarch64_task:
CIBW_BUILD: cp312-manylinux*
only_if: $CIRRUS_BRANCH == 'main'
env:
CIBW_BUILD_FRONTEND: build
# Run the container in host mode so that vcpkg has access to the Cirrus CI cache
CIBW_CONTAINER_ENGINE: "docker; create_args: --network=host"
CIBW_BEFORE_ALL_LINUX: yum install -y zip flex bison gcc-gfortran
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >
auditwheel repair -w {dest_dir} {wheel}
--exclude libarrow_python.so
--exclude libarrow.so.1601
# There's no python-casacore wheel for amd64-linux or macosx
CIBW_TEST_COMMAND_LINUX: python -c "from arcae.testing import sanity; sanity()"
VCPKG_INSTALLED_DIR: /tmp/vcpkg_installed
VCPKG_TARGET_TRIPLET: arm64-linux-dynamic-cxx17-abi1-rel
CIBW_ENVIRONMENT_LINUX: >
CMAKE_ARGS=-DBUILD_TESTING=OFF
Expand Down

0 comments on commit 215749d

Please sign in to comment.