Skip to content

[CI] Introduce reusable action for job initialization #870

[CI] Introduce reusable action for job initialization

[CI] Introduce reusable action for job initialization #870

Workflow file for this run

name: Build & Test
on:
push:
branches:
- '*'
- '*/*'
pull_request:
branches:
- '*'
- '*/*'
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up environment for Android build
uses: ./.github/actions/prepare-env
- name: Build & Test
run: cd projects && ./test.sh
build-publish-local:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up environment for Android build
uses: ./.github/actions/prepare-env
- name: Build & Install
run: cd projects && ./install.sh
build-macos:
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up environment for Android build
uses: ./.github/actions/prepare-env
- name: Test
run: cd projects && ./gradlew :core:koin-core:macosX64Test --no-daemon --stacktrace