Skip to content

Create Linux_Memory_Management_Essentials.md #206

Create Linux_Memory_Management_Essentials.md

Create Linux_Memory_Management_Essentials.md #206

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
env:
STPATOOLS_VERSION: "42e07abc5510f5864aa102aa7ae1e8349911a620"
STPATOOLS_REPO: "https://gitlab.com/CodethinkLabs/stpatools.git"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Check that YAML files are well-formed
- name: YAML lint
run: yamllint -d relaxed .
# Install specific version of ruamel.yaml required by STPAtools
- name: Install ruamel.yaml
run: pip3 install ruamel.yaml==0.16.7
# Install specific version of STPA tools from repo
- name: Install STPA tools
run: pip3 install "git+${{env.STPATOOLS_REPO}}@${{env.STPATOOLS_VERSION}}"
# Validate STPA files
- name: Validate STPA files (STPA_DynMA)
run: stpa-validate STPA_DynMA/*.yml