-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (35 loc) · 1.71 KB
/
build-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This is a basic workflow to help you get started with Actions
name: Build and Test Electrostatic-Sandbox Framework
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-electrostatic:
# runner images with architectures (variants)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest' ]
name: Build Electrostatic
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout Job
uses: actions/checkout@v3
- name: Setup Electrostatic-Sandbox Workstation
run: chmod +rwx ./setup-environment/setup-sandbox.sh && ./setup-environment/setup-sandbox.sh
- name: User's Permissions Granting
run: cd ./electrostatic-sandbox-framework && chmod +rwx ./helper-scripts/project-impl/*.sh
- name: Compiling electrostatic-core Native Binaries
run: cd ./electrostatic-sandbox-framework && ./helper-scripts/ci-cd/compile-electrostatic.sh
- name: Testing electrostatic-core Native Binaries
run: cd ./electrostatic-sandbox-framework && ./helper-scripts/ci-cd/test-electrostatic.sh
- name: Compiling electrostatic4j Java Binding API
run: cd ./electrostatic-sandbox-framework && ./helper-scripts/ci-cd/compile-e4j.sh
- name: Testing electrostatic4j Java Binding API
run: cd ./electrostatic-sandbox-framework && ./helper-scripts/ci-cd/test-e4j.sh