Skip to content

Commit a4fd7de

Browse files
[bot-automerge] spatialmath-python v1.1.16 (#30)
automerged PR by conda-forge/automerge-action
2 parents e1befd5 + ba7f29a commit a4fd7de

10 files changed

Lines changed: 139 additions & 103 deletions

File tree

.azure-pipelines/azure-pipelines-linux.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/conda-build.yml

Lines changed: 103 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,111 @@
1-
# This file was added automatically by admin-migrations. Do not modify.
2-
# It ensures that Github Actions can run once rerendered for the first time.
1+
# This file was generated automatically from conda-smithy. To update this configuration,
2+
# update the conda-forge.yml and/or the recipe/meta.yaml.
33
# -*- mode: yaml -*-
44

55
name: Build conda package
66
on:
7-
workflow_dispatch:
7+
push:
8+
9+
pull_request:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13+
cancel-in-progress: true
814

915
jobs:
1016
build:
11-
name: Disabled build
12-
runs-on: ubuntu-slim
13-
if: false
17+
name: ${{ matrix.CONFIG }}
18+
runs-on: ${{ matrix.runs_on }}
19+
timeout-minutes: 360
20+
strategy:
21+
fail-fast: false
22+
max-parallel: 50
23+
matrix:
24+
include:
25+
- CONFIG: linux_64_
26+
STORE_BUILD_ARTIFACTS: False
27+
UPLOAD_PACKAGES: True
28+
os: ubuntu
29+
runs_on: ['ubuntu-latest']
30+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
1431
steps:
15-
- run: exit 0
32+
33+
- name: Checkout code
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
35+
36+
- name: Build on Linux
37+
id: build-linux
38+
if: matrix.os == 'ubuntu'
39+
env:
40+
CONFIG: ${{ matrix.CONFIG }}
41+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
42+
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
43+
CI: github_actions
44+
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
45+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
46+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
47+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
48+
shell: bash
49+
run: |
50+
if [[ "$(uname -m)" == "x86_64" ]]; then
51+
echo "::group::Configure binfmt_misc"
52+
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
53+
fi
54+
export flow_run_id="github_$GITHUB_RUN_ID"
55+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
56+
export sha="$GITHUB_SHA"
57+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
58+
export GIT_BRANCH="$(basename $GITHUB_REF)"
59+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
60+
export IS_PR_BUILD="True"
61+
else
62+
export IS_PR_BUILD="False"
63+
fi
64+
echo "::endgroup::"
65+
./.scripts/run_docker_build.sh
66+
67+
- name: Build on macOS
68+
id: build-macos
69+
if: matrix.os == 'macos'
70+
env:
71+
CONFIG: ${{ matrix.CONFIG }}
72+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
73+
CI: github_actions
74+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
75+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
76+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
77+
shell: bash
78+
run: |
79+
export flow_run_id="github_$GITHUB_RUN_ID"
80+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
81+
export sha="$GITHUB_SHA"
82+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
83+
export GIT_BRANCH="$(basename $GITHUB_REF)"
84+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
85+
export IS_PR_BUILD="True"
86+
else
87+
export IS_PR_BUILD="False"
88+
fi
89+
./.scripts/run_osx_build.sh
90+
91+
- name: Build on windows
92+
id: build-windows
93+
if: matrix.os == 'windows'
94+
shell: cmd
95+
run: |
96+
set "flow_run_id=github_%GITHUB_RUN_ID%"
97+
set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
98+
set "sha=%GITHUB_SHA%"
99+
call ".scripts\run_win_build.bat"
100+
env:
101+
# default value; make it explicit, as it needs to match with artefact
102+
# generation below. Not configurable for now, can be revisited later
103+
CONDA_BLD_PATH: C:\bld
104+
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
105+
PYTHONUNBUFFERED: 1
106+
CONFIG: ${{ matrix.CONFIG }}
107+
CI: github_actions
108+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
109+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
110+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
111+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scripts/build_steps.sh

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scripts/run_docker_build.sh

Lines changed: 27 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE.txt

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure-pipelines.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

build-locally.py

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "spatialmath-python" %}
2-
{% set version = "1.1.15" %}
2+
{% set version = "1.1.16" %}
33

44

55
package:
@@ -8,7 +8,7 @@ package:
88

99
source:
1010
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
11-
sha256: cab70f2cd375e6107858c901f1348d594f509d5f2c121f042fd1cd42bad73ddf
11+
sha256: eb2f043b1c57baab034c01d6d3028eab80f5ec68eaa2ec89cb9572107c336a22
1212

1313
build:
1414
number: 0

0 commit comments

Comments
 (0)