Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 1 addition & 78 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,85 +17,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-rust:
build:
runs-on: ubuntu-latest
strategy:
matrix:
service: [ingestion, signal-core]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: ${{ matrix.service }}
- name: Check
run: cargo check
working-directory: ${{ matrix.service }}
- name: Build
run: cargo build --release
working-directory: ${{ matrix.service }}
- name: Test
run: cargo test
working-directory: ${{ matrix.service }}

build-typescript:
runs-on: ubuntu-latest
strategy:
matrix:
service:
- shared
- execution
- settlement
- btc-5m
- btc-5m-momentum
- btc-5m-latency
- crypto-signals
- sports-signals
- alpha-executor
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: ${{ matrix.service }}/package-lock.json
- name: Install shared dependency
if: matrix.service != 'shared'
run: npm ci
working-directory: shared
- name: Install
run: npm ci
working-directory: ${{ matrix.service }}
- name: Build
run: npm run build
working-directory: ${{ matrix.service }}
- name: Test
run: npm test -- --runInBand
working-directory: ${{ matrix.service }}
if: contains(fromJSON('["btc-5m-momentum","btc-5m-latency"]'), matrix.service)
- name: Test
run: npm test
working-directory: ${{ matrix.service }}
if: contains(fromJSON('["crypto-signals","sports-signals","alpha-executor"]'), matrix.service)

build-dashboard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: dashboard/package-lock.json
- name: Install and build
env:
DASHBOARD_API_SECRET: ci_placeholder_secret_min_len_16
run: npm ci && npm run build
working-directory: dashboard

build-docker:
runs-on: ubuntu-latest
needs: [build-rust, build-typescript, build-dashboard]
steps:
- uses: actions/checkout@v4
- name: Build all images
Expand Down
128 changes: 0 additions & 128 deletions .github/workflows/deploy.yml

This file was deleted.

Loading