Skip to content

TileDB Nightly Test Build #500

TileDB Nightly Test Build

TileDB Nightly Test Build #500

Workflow file for this run

name: TileDB Nightly Test Build
on:
schedule:
# runs every day at 2:50 UTC
- cron: "50 02 * * *"
workflow_dispatch:
push:
branches:
- '*' # must quote since "*" is a YAML reserved character; we want a string
jobs:
test:
runs-on: ${{ matrix.os }}
working-directory: ${{ matrix.working_directory || github.workspace }}

Check failure on line 15 in .github/workflows/nightly-test.yml

View workflow run for this annotation

GitHub Actions / TileDB Nightly Test Build

Invalid workflow file

The workflow is not valid. .github/workflows/nightly-test.yml (Line: 15, Col: 5): Unexpected value 'working-directory'
strategy:
matrix:
include:
- os: windows-latest
assertions: "ON"
# Insufficient space on default D:/ for debug build
config: "Debug"
working_directory: "C:/"
fail-fast: false
name: |
${{ matrix.os }} - Sanitizer: ${{ matrix.sanitizer || 'none' }} | Experimental: ${{ matrix.experimental || 'OFF' }} | ${{ matrix.config || 'Release' }}
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
TILEDB_NIGHTLY_BUILD: 1
steps:
- name: Print env
run: printenv
- name: Get-PSDrive
run: |
Get-PSDrive
- name: Checkout TileDB `dev`
uses: actions/checkout@v3
- name: Configure TileDB CMake (not-Windows)
if: ${{ ! contains(matrix.os, 'windows') }}
env:
SANITIZER_ARG: ${{ matrix.sanitizer || 'OFF' }}
EXPERIMENTAL: ${{ matrix.experimental || 'OFF' }}
run: |
cmake -B build -DTILEDB_VCPKG=ON -DTILEDB_WERROR=ON -DTILEDB_SERIALIZATION=ON -DTILEDB_EXPERIMENTAL_FEATURES=$EXPERIMENTAL -DCMAKE_BUILD_TYPE=${{ matrix.config || 'Release' }} -DSANITIZER=$SANITIZER_ARG
- name: Configure TileDB CMake (Windows)
if: contains(matrix.os, 'windows')
run: |
cmake -B build -DTILEDB_VCPKG=ON -DTILEDB_WERROR=ON -DTILEDB_SERIALIZATION=ON -DCMAKE_BUILD_TYPE=${{ matrix.config || 'Release' }} -DTILEDB_ASSERTIONS=${{ matrix.assertions || 'OFF' }}
- name: Build TileDB
run: |
cmake --build build -j2 --config ${{ matrix.config || 'Release' }}
- name: Test TileDB
run: |
cmake --build build --target check --config ${{ matrix.config || 'Release' }}
#create_issue_on_fail:
# permissions:
# issues: write
# runs-on: ubuntu-latest
# needs: test
# if: failure() || cancelled()
# steps:
# - name: Checkout TileDB `dev`
# uses: actions/checkout@v3
# - name: Create Issue if Build Fails
# uses: TileDB-Inc/github-actions/open-issue@main
# with:
# name: nightly GitHub Actions build
# label: nightly
# assignee: ihnorton,teo-tsirpanis,davisp