Skip to content

Commit

Permalink
Mebbe?
Browse files Browse the repository at this point in the history
  • Loading branch information
davisp committed Mar 26, 2024
1 parent 46f05e8 commit 613f580
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
24 changes: 24 additions & 0 deletions .github/actions/install-tiledb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

name: Install TileDB

inputs:
version:
required: false
description: "The version of TileDB to Install"
default: "2.21.0/tiledb-linux-x86_64-2.21.0-0ea9c13"

env:
RELEASES_URL: "https://github.com/TileDB-Inc/TileDB/releases/download"

runs:
using: "composite"
steps:
- name: Install TileDB
run: |
set -e pipefail
mkdir -p /opt/tiledb
cd /opt/tiledb
wget -nv ${RELEASES_URL}/${inputs.version}.tar.gz
wget -nv ${RELEASES_URL}/${inputs.version}.tar.gz.sha256
sha256sum tiledb*.sha256
tar -C /opt/tiledb -xzf tiledb*.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Rustc Cache
uses: Swatinem/rust-cache@v2
- name: Install TileDB
uses: ./.github/workflows/install-tiledb.yml
uses: ./.github/actions/install-tiledb.yml
- name: Check Formatting
run: cargo fmt --quiet --check
- name: Lint
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/install-tiledb.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nigthtly-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
- name: Install TileDB
uses: ./.github/workflows/install-tiledb.yml
uses: ./.github/actions/install-tiledb.yml
- name: Check Formatting
run: cargo fmt --quiet --check
- name: Update Dependencies
Expand Down

0 comments on commit 613f580

Please sign in to comment.