Skip to content

Commit 08883bd

Browse files
committed
CI: Add arm64
1 parent 3b86444 commit 08883bd

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.cirrus.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cirrus_wheels_macos_arm64_task:
2+
macos_instance:
3+
image: ghcr.io/cirruslabs/macos-ventura-base:latest
4+
env:
5+
GH_TOKEN: ENCRYPTED[5cef4d5798a06ef1d2681e25b0e79f83dd63a64375c6ee9c66845cdd067c31d22d93e9656a9eec0def2c5da2e755466b]
6+
build_script:
7+
./build.sh
8+
upload_script:
9+
- ls -l
10+
- curl -X POST --data-binary @otconda-1.23-MacOSX-arm64.sh --header "Authorization: token $GH_TOKEN" --header "Content-Type: application/octet-stream" https://uploads.github.com/repos/$CIRRUS_REPO_FULL_NAME/releases/$CIRRUS_RELEASE/assets?name=otconda-1.23-MacOSX-arm64.sh

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.. image:: https://github.com/openturns/otconda/actions/workflows/build.yml/badge.svg?branch=master
22
:target: https://github.com/openturns/otconda/actions/workflows/build.yml
33

4+
.. image:: https://api.cirrus-ci.com/github/openturns/otconda.svg?branch=master
5+
:target: https://cirrus-ci.com/github/openturns/otconda
6+
47
otconda installer
58
=================
69

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ then
1616
else
1717
OS=MacOSX
1818
fi
19+
ARCH=`uname -m`
1920

2021
# install constructor
21-
wget -c --no-check-certificate https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-${OS}-x86_64.sh -P /tmp
22+
wget -c --no-check-certificate https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-${OS}-${ARCH}.sh -P /tmp
2223
rm -rf /tmp/miniforge
2324
bash /tmp/Miniforge3-${OS}-x86_64.sh -b -p /tmp/miniforge
2425
export PATH="/tmp/miniforge/bin:$PATH"

0 commit comments

Comments
 (0)