Skip to content

Commit

Permalink
ci: minimal install
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaZotov committed Apr 15, 2024
1 parent 5b6fbbc commit 47f68cc
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Install

on:
pull_request:
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/minimal_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Minimal install

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/[email protected]
with:
key: ${{ github.job }}

- name: Install Metasystem
env:
TERM: linux
run: |
git submodule update --init --recursive
cd scripts
./install_minimal_metasystem.sh
- name: Run cxx tests
run: |
cd scripts
./build_ps.sh -t
./tests/run_cxx_ps_tests.sh
./run_cxx_ps.sh -t

0 comments on commit 47f68cc

Please sign in to comment.