Skip to content

Commit

Permalink
Debugging CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davisp committed Mar 19, 2024
1 parent f2c8ace commit 4bc0d20
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: Stable Build and Test

# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
RUSTFLAGS: "-Dwarnings -C link-args=-Wl,-rpath,/opt/tiledb/lib"
RELEASES_URL: "https://github.com/TileDB-Inc/TileDB/releases/download"

jobs:
Expand All @@ -27,20 +27,23 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
# - uses: Swatinem/rust-cache@v2
- name: Install TileDB
run: |
set -e pipefail
mkdir -p /opt/tiledb
cd /opt/tiledb
wget -q ${RELEASES_URL}/2.21.0-rc1/tiledb-linux-x86_64-2.21.0-rc1-0ea9c13.tar.gz
wget -q ${RELEASES_URL}/2.21.0-rc1/tiledb-linux-x86_64-2.21.0-rc1-0ea9c13.tar.gz.sha256
sha256sum tiledb*.sha256
mkdir -p /opt/tiledb
tar -C /opt/tiledb -xvzf tiledb*.tar.gz
tar -C /opt/tiledb -xzf tiledb*.tar.gz
pwd
ls -alh
ls -alh /opt/tiledb/lib/
- name: Show Environment
run: set | sort
- name: Lint
run: cargo clippy --all-targets --all-features
run: cargo -v clippy --all-targets --all-features
- name: Build
run: cargo build --all-targets --all-features
run: cargo -v build --all-targets --all-features
- name: Test
run: cargo test --all-targets --all-features
run: cargo -v test --all-targets --all-features

0 comments on commit 4bc0d20

Please sign in to comment.