From 251f8f3d5ed70eaf13cc340e4624a57201b591e5 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sun, 20 Oct 2024 11:39:01 +0200 Subject: [PATCH] Drop cirrus --- .cirrus.yml | 12 ------------ .github/workflows/nightly.yml | 20 +++++++++++++++++++- README.rst | 3 --- 3 files changed, 19 insertions(+), 16 deletions(-) delete mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index af83c16..0000000 --- a/.cirrus.yml +++ /dev/null @@ -1,12 +0,0 @@ -cirrus_wheels_macos_arm64_task: - macos_instance: - image: ghcr.io/cirruslabs/macos-runner:sonoma - env: - MAKEFLAGS: -j4 - TWINE_USERNAME: ENCRYPTED[5cef4d5798a06ef1d2681e25b0e79f83dd63a64375c6ee9c66845cdd067c31d22d93e9656a9eec0def2c5da2e755466b] - TWINE_PASSWORD: ENCRYPTED[9c02f4e5d0ee6ca807e6a00a5bafcc0611be9505975115b1ff39ca84f65cce5c48260a01cb43874c690b900b4699546e] - build_script: - ./build-wheels-macos.sh openturns v1.23 cp39 14 - upload_script: - - ls -l wheelhouse/*.whl - - if test -n "${CIRRUS_TAG}"; then python3.8 -m pip install twine --break-system-packages && python3.8 -m twine upload wheelhouse/*.whl; fi diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f5caf6e..8f23edd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -42,7 +42,7 @@ jobs: conda install -y anaconda-client anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u openturns-wheels-nightly wheelhouse/*.whl - macos: + macos-x86_64: runs-on: macos-13 steps: - uses: actions/checkout@v4 @@ -59,3 +59,21 @@ jobs: run: | conda install -y anaconda-client anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u openturns-wheels-nightly wheelhouse/*.whl + + macos-arm64: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Build + env: + MAKEFLAGS: -j3 + run: ./build-wheels-macos.sh openturns master cp39 14 + - uses: conda-incubator/setup-miniconda@v3 + with: + miniforge-version: latest + - name: Upload + if: ${{ github.ref == 'refs/heads/master' }} + shell: bash -l {0} + run: | + conda install -y anaconda-client + anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u openturns-wheels-nightly wheelhouse/*.whl \ No newline at end of file diff --git a/README.rst b/README.rst index ee0fb97..5f84592 100644 --- a/README.rst +++ b/README.rst @@ -4,9 +4,6 @@ .. image:: https://github.com/openturns/build-wheels/actions/workflows/nightly.yml/badge.svg?branch=master :target: https://github.com/openturns/build-wheels/actions/workflows/nightly.yml -.. image:: https://api.cirrus-ci.com/github/openturns/build-wheels.svg?branch=master - :target: https://cirrus-ci.com/github/openturns/build-wheels - ================ OpenTURNS wheels ================