rlcheng running Validate Templates CI actions #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate_templates-actions | |
run-name: ${{ github.actor }} running Validate Templates CI actions | |
on: | |
push: | |
branches: [ devel, release/** ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ devel, release/** ] | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- '.github/actions/spelling/**' | |
- '.github/ISSUE_TEMPLATE/**' | |
jobs: | |
validate_templates: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Checkout F' Repository" | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
path: ${{ inputs.fprime_location }} | |
- name: "Test Bootstrap and build" | |
run: | | |
pip install fprime-bootstrap | |
sudo apt-get install expect | |
mkdir test_dev | |
cd test_dev | |
expect ../.github/workflows/bootstrap.exp | |
cd MyProject | |
. fprime-venv/bin/activate | |
fprime-util generate | |
fprime-util build | |
- name: "Test Deployment and build" | |
run: | | |
cd test_dev/MyProject | |
. fprime-venv/bin/activate | |
expect ../../.github/workflows/deployment.exp | |
cd MyDeployment | |
fprime-util build | |
- name: "Test Component and build" | |
run: | | |
cd test_dev/MyProject | |
. fprime-venv/bin/activate | |
expect ../../.github/workflows/component.exp | |
cd MyComponent | |
fprime-util build |