Skip to content

Commit 0b429c4

Browse files
committed
Rework basic CI workflow
1 parent 4e145ba commit 0b429c4

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -63,67 +63,6 @@ jobs:
6363
run: brew install pkg-config
6464
if: matrix.os == 'macos-12'
6565

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-
12766
- name: "Install libfaketime (linux and macOS)"
12867
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12'
12968
run: |

0 commit comments

Comments
 (0)