Skip to content

[TEST ONLY] Bad GitHub Actions workflows #10

[TEST ONLY] Bad GitHub Actions workflows

[TEST ONLY] Bad GitHub Actions workflows #10

name: facebook/rocksdb/jobs-linux-other-checks
on: [push, pull_request]
jobs:
build-linux-clang10-clang-analyze:
runs-on:
labels: 16-core-ubuntu
container:
image: zjay437/rocksdb:0.6
options: --shm-size=16gb
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: CC=clang-10 CXX=clang++-10 ROCKSDB_DISABLE_ALIGNED_NEW=1 CLANG_ANALYZER="/usr/bin/clang++-10" CLANG_SCAN_BUILD=scan-build-10 USE_CLANG=1 make V=1 -j32 analyze
- uses: "./.github/actions/post-steps"
- name: compress test report
run: tar -cvzf scan_build_report.tar.gz scan_build_report
if: failure()
- uses: actions/[email protected]
with:
path: scan_build_report.tar.gz
build-linux-unity-and-headers:
runs-on:
labels: 4-core-ubuntu
container:
image: gcc:latest
options: --shm-size=16gb
env:
EXTRA_CXXFLAGS: "-mno-avx512f"
steps:
- uses: actions/[email protected]
- run: apt-get update -y && apt-get install -y libgflags-dev
- name: Unity build
run: make V=1 -j8 unity_test
syntax-error: foo

Check failure on line 34 in .github/workflows/jobs-linux-other-checks.yml

View workflow run for this annotation

GitHub Actions / facebook/rocksdb/jobs-linux-other-checks

Invalid workflow file

The workflow is not valid. .github/workflows/jobs-linux-other-checks.yml (Line: 34, Col: 7): Unexpected value 'syntax-error'
- run: make V=1 -j8 -k check-headers
- uses: "./.github/actions/post-steps"
build-linux-mini-crashtest:
runs-on:
labels: 4-core-ubuntu
container:
image: zjay437/rocksdb:0.6
options: --shm-size=16gb
steps:
- uses: actions/[email protected]
- uses: "./.github/actions/pre-steps"
- run: ulimit -S -n `ulimit -H -n` && make V=1 -j8 CRASH_TEST_EXT_ARGS='--duration=960 --max_key=2500000 --use_io_uring=0' blackbox_crash_test_with_atomic_flush
- uses: "./.github/actions/post-steps"