Show More
@@ -42,29 +42,29 variables: | |||||
42 | # TODO: we should use an image based on manylinux instead "all-in-one" image |
|
42 | # TODO: we should use an image based on manylinux instead "all-in-one" image | |
43 | # used for all test so far. |
|
43 | # used for all test so far. | |
44 | .build-wheel: &wheel |
|
44 | .build-wheel: &wheel | |
45 |
|
|
45 | <<: *all | |
46 |
|
|
46 | stage: build | |
47 |
|
|
47 | variables: | |
48 |
|
|
48 | WHEEL_TYPE: "" | |
49 |
|
|
49 | FLAVOR: "" | |
50 |
|
|
50 | before_script: | |
51 |
|
|
51 | - echo "python used, $PYTHON" | |
52 |
|
|
52 | - $PYTHON --version | |
53 |
|
|
53 | - echo $WHEEL_TYPE | |
54 |
|
|
54 | - test -n "$WHEEL_TYPE" | |
55 |
|
|
55 | - echo $FLAVOR | |
56 |
|
|
56 | - mkdir -p wheels/$WHEEL_TYPE | |
57 |
|
|
57 | script: | |
58 |
|
|
58 | - $PYTHON setup.py bdist_wheel $FLAVOR --dist-dir wheels/$WHEEL_TYPE | |
59 |
|
|
59 | artifacts: | |
60 |
|
|
60 | paths: | |
61 |
|
|
61 | - wheels/$WHEEL_TYPE | |
62 |
|
|
62 | expire_in: 1 week | |
63 |
|
63 | |||
64 | build-c-wheel: |
|
64 | build-c-wheel: | |
65 |
|
|
65 | <<: *wheel | |
66 |
|
|
66 | variables: | |
67 |
|
|
67 | WHEEL_TYPE: "c" | |
68 |
|
68 | |||
69 | # TODO: We should select the wheel compatible with the python (and plateform) |
|
69 | # TODO: We should select the wheel compatible with the python (and plateform) | |
70 | # we use. This is necessary to build multiple wheel. |
|
70 | # we use. This is necessary to build multiple wheel. |
General Comments 0
You need to be logged in to leave comments.
Login now