|
63 | 63 | run: brew install pkg-config
|
64 | 64 | if: matrix.os == 'macos-12'
|
65 | 65 |
|
66 |
| - - name: "Install dependencies" |
67 |
| - run: python -m pip install --upgrade -r misc/requirements_ci.txt |
68 |
| - |
69 |
| - - name: "Get TILEDB_VERSION" |
70 |
| - run: echo "LIBTILEDB_VERSION=$(python setup.py get_tiledb_version | tail -n 1)" >> $GITHUB_ENV |
71 |
| - |
72 |
| - - name: "Get LIBTILEDB_SHA" |
73 |
| - run: echo "LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB $LIBTILEDB_VERSION | cut -c1-7)" >> $GITHUB_ENV |
74 |
| - |
75 |
| - - name: "Download TileDB From Zip And Build TileDB-Py (Windows)" |
76 |
| - run: | |
77 |
| - choco install wget --no-progress |
78 |
| -
|
79 |
| - if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-windows-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.zip; then |
80 |
| - mkdir libtiledb |
81 |
| - unzip tiledb-windows-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.zip -d libtiledb |
82 |
| - cp libtiledb/bin/tiledb.dll tiledb |
83 |
| - python setup.py develop --tiledb=libtiledb |
84 |
| - else |
85 |
| - # Build from source as fallback |
86 |
| - python setup.py build_ext --inplace |
87 |
| - python setup.py develop |
88 |
| - fi |
89 |
| - env: |
90 |
| - TILEDB_FORCE_ALL_DEPS: True |
91 |
| - CMAKE_GENERATOR: "Ninja" |
92 |
| - if: matrix.os == 'windows-latest' |
93 |
| - |
94 |
| - - name: "Download TileDB From Tarball And Build TileDB-Py (macOS)" |
95 |
| - run: | |
96 |
| - set -xeo pipefail |
97 |
| -
|
98 |
| - if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-macos-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz; then |
99 |
| - mkdir libtiledb |
100 |
| - sudo tar -vzxf tiledb-macos-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz -C libtiledb |
101 |
| - python setup.py develop --tiledb=libtiledb |
102 |
| - else |
103 |
| - # Build from source as fallback |
104 |
| - python setup.py build_ext --inplace |
105 |
| - python setup.py develop |
106 |
| - fi |
107 |
| - if: matrix.os == 'macos-12' |
108 |
| - |
109 |
| - - name: "Download TileDB From Tarball And Build TileDB-Py (Linux)" |
110 |
| - run: | |
111 |
| - set -xeo pipefail |
112 |
| -
|
113 |
| - if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-linux-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz; then |
114 |
| - mkdir libtiledb |
115 |
| - sudo tar -vzxf tiledb-linux-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz -C libtiledb |
116 |
| - python setup.py develop --tiledb=libtiledb |
117 |
| - else |
118 |
| - # Build from source as fallback |
119 |
| - python setup.py build_ext --inplace |
120 |
| - python setup.py develop |
121 |
| - fi |
122 |
| - if: matrix.os == 'ubuntu-latest' |
123 |
| - |
124 |
| - - name: "Check build directory" |
125 |
| - run: ls -Rl |
126 |
| - |
127 | 66 | - name: "Install libfaketime (linux and macOS)"
|
128 | 67 | if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12'
|
129 | 68 | run: |
|
|
0 commit comments