Skip to content

Commit

Permalink
ci: add installation with component maanger
Browse files Browse the repository at this point in the history
  • Loading branch information
MksmOrlov committed Feb 3, 2024
1 parent e437c6a commit 728b755
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 9 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/install_with_component_manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
pull_request:
branches: [ develop, main, release/** ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
name: Prepare on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Update
if: startswith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
- name: Restore build caches
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}

- name: Preparing platform
env:
TERM: linux
run: |
cd scripts
./set_vars.sh
./install_platform_with_component_manager.sh
./run_sc_component_manager.sh
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ To learn more about the platform, check out our [documentation](https://github.c
</details>
- Natively (using sc-component-manager)
```sh
git clone https://github.com/ostis-ai/ostis-web-platform
cd ostis-web-platform/scripts
./install_platform_with_component_manager.sh
./run_sc_component_manager.sh
```
- Natively
Note: Currently, only Linux (Ubuntu-20.04, Ubuntu-22.04) and macOS are supported by this installation method. If you're going to use it, it might take a while to download dependencies and compile the components. Use it only if you know what you're doing!
Expand All @@ -73,15 +82,6 @@ To learn more about the platform, check out our [documentation](https://github.c
./scripts/install_platform.sh
```
- Natively (using sc-component-manager)
```sh
git clone https://github.com/ostis-ai/ostis-web-platform
cd ostis-web-platform/scripts
./install_platform_with_component_manager.sh
./run_sc_component_manager.sh
```
## Usage
- Docker Compose
Expand Down

0 comments on commit 728b755

Please sign in to comment.