Skip to content

Update tiledb_deserialize_array params. #701

Update tiledb_deserialize_array params.

Update tiledb_deserialize_array params. #701

Workflow file for this run

name: TileDB-Go
on:
push:
tags: [ v* ]
branches: [ master ]
pull_request:
branches: [ master ]
env:
# The version of TileDB to test against.
CORE_VERSION: "2.23.0"
# The abbreviated git commit hash to use.
CORE_HASH: "152093b"
jobs:
golangci:
name: lint
runs-on: ubuntu-22.04
steps:
# Checks out repository
- uses: actions/checkout@v2
# Downloads TileDB-Core from release assets and install
- name: Run TileDB install script
run: ./.github/scripts/install_tiledb_linux.sh
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
continue-on-error: true
with:
# Required: the version of golangci-lint is required and must be
# specified without patch version: we always use the latest patch version.
version: v1.35.2
Linux_Test:
runs-on: ubuntu-22.04
strategy:
matrix:
# Will be checking following versions
go: ["1.20", "1.21"]
steps:
# Checks out repository
- uses: actions/checkout@v2
# Log details for the runner. Useful for debugging
- name: Run lscpu for runner details
run: lscpu
shell: bash
# Downloads TileDB-Core from release assets and install
- name: Run TileDB install script
run: ./.github/scripts/install_tiledb_linux.sh
shell: bash
# Following action sets up Go and uses the strategy matrix to test on
# specific versions
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go get -t .
# Tests TileDB-Go
- name: Test TileDB-Go
run: go test -v ./...
Macos_Test:
runs-on: macos-12
strategy:
matrix:
# Will be checking following versions
go: ["1.20", "1.21"]
steps:
# Checks out repository
- uses: actions/checkout@v2
# Log details for the runner. Useful for debugging
- name: Run sysctl for runner details
run: sysctl -a
shell: bash
# Downloads TileDB-Core from release assets and install
- name: Run TileDB install script
run: ./.github/scripts/install_tiledb_macos.sh
shell: bash
# Following action sets up Go and uses the strategy matrix to test on
# specific versions
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/Library/Caches/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go get -t .
# Tests TileDB-Go
- name: Test TileDB-Go
run: go test -v ./...
Linux_Address_Sanitizer:
runs-on: ubuntu-22.04
strategy:
matrix:
# Will be checking following versions
go: ["1.20", "1.21"]
steps:
# Checks out repository
- uses: actions/checkout@v2
# Log details for the runner. Useful for debugging
- name: Run lscpu for runner details
run: lscpu
shell: bash
# Downloads TileDB-Core from release assets and install
- name: Run TileDB install script
run: ./.github/scripts/install_tiledb_linux_debug.sh
shell: bash
# Following action sets up Go and uses the strategy matrix to test on
# specific versions
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-asan
restore-keys: |
${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
${{ runner.os }}-go-
- name: Install dependencies
run: go get -t .
# Tests TileDB-Go
- name: Running examples using address sanitizer flags
continue-on-error: true
run: go run -tags asan ./cmd/tiledb-go-examples