-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 1.26 KB
/
build-app.yml
File metadata and controls
40 lines (31 loc) · 1.26 KB
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
# This is a basic workflow to help you get started with Actions
name: Build Electrostatic-Application
# 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-app:
# runner images with architectures (variants)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest' ]
name: Build Electrostatic App
# 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 ./helper-scripts/setup-environment/setup-sandbox.sh && ./helper-scripts/setup-environment/setup-sandbox.sh
- name: User's Permissions Granting
run: chmod +rwx ./helper-scripts/project-impl/*.sh
- name: Building Electrostatic-application Executable Binaries
run: sudo ./helper-scripts/project-impl/compile-all.sh
- name: Testing Electrostatic-app ELF
run: sudo ./build/linux/x86-64/electrostatic-app.elf