Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into aln-provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
amlatyrngom committed Apr 26, 2024
2 parents 225a6dc + 3b40183 commit 9d68ec6
Show file tree
Hide file tree
Showing 446 changed files with 34,037 additions and 8,740 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/check_cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Check C++ Code

on:
push:
branches: [ main ]
paths:
- 'cpp/**'
pull_request:
branches: [ main ]
paths:
- 'cpp/**'
workflow_dispatch: {}

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug

jobs:
build:
name: Check C++ Code
timeout-minutes: 30

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- name: Add Arrow remote package repository
run: >-
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb &&
sudo apt install ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
- name: Install Dependencies
run: >-
sudo apt update &&
sudo apt install libarrow-dev libarrow-flight-dev libarrow-flight-sql-dev sqlite3 libboost-all-dev
- name: Configure Project using CMake
working-directory: ${{github.workspace}}/cpp
run: cmake -B ${{github.workspace}}/cpp/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Compile Project
working-directory: ${{github.workspace}}/cpp/build
run: make -j
timeout-minutes: 15
46 changes: 46 additions & 0 deletions .github/workflows/check_js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Check JS Code

on:
push:
branches: [ main ]
paths:
- 'ui/**'
pull_request:
branches: [ main ]
paths:
- 'ui/**'
workflow_dispatch: {}

jobs:
build:
name: Check JS Code
timeout-minutes: 30

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- name: Set Up Node 20
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Dependencies
working-directory: ui
run: npm install

- name: Check Formatting (prettier)
working-directory: ui
run: npm run fcheck
if: success() || failure()

- name: Lint (eslint)
working-directory: ui
run: npm run lint
if: success() || failure()

- name: Run Build (vite)
working-directory: ui
run: npm run build
if: success() || failure()
17 changes: 11 additions & 6 deletions .github/workflows/check.yml → .github/workflows/check_python.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: Check Code
name: Check Python Code

on:
push:
branches: [ main ]
paths-ignore:
- 'cirrus/**'
- 'cpp/**'
- 'sandbox/**'
- 'ui/**'
pull_request:
branches: [ main ]
paths-ignore:
- 'cirrus/**'
- 'cpp/**'
- 'sandbox/**'
- 'ui/**'
workflow_dispatch: {}

jobs:
build:
name: Check Code
name: Check Python Code
timeout-minutes: 30

runs-on: ubuntu-22.04
Expand All @@ -21,10 +26,10 @@ jobs:
python-version: ['3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ venv

# Used for any scratch data/results that are not meant to be checked in.
scratch

sandbox/qe/target
sandbox/qe/.brad_qe_repl_history

# BRAD UI.
ui/dist/
ui/node_modules/
168 changes: 0 additions & 168 deletions cirrus/.clang-format

This file was deleted.

5 changes: 0 additions & 5 deletions cirrus/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions cirrus/README.md

This file was deleted.

Loading

0 comments on commit 9d68ec6

Please sign in to comment.