Skip to content

Rename workflow from Electrostatic-Application to Library #2

Rename workflow from Electrostatic-Application to Library

Rename workflow from Electrostatic-Application to Library #2

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build Electrostatic-Library
# 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 Library
# 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-Library Binaries
run: sudo ./helper-scripts/project-impl/compile-all.sh

Check failure on line 37 in .github/workflows/build-lib.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-lib.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
- name: Building Electrostatic-Library Examples
run: ./helper-scripts/project-impl/compile-examples.sh "-m64" "main.cpp" "executable-example" "linux" "x86-64" "x86-64/exe"
- name: Testing Electrostatic-app ELF
run: ./cmake-build/linux/x86-64/exe/executable-example.elf