-
Notifications
You must be signed in to change notification settings - Fork 144
46 lines (36 loc) · 984 Bytes
/
lint-toolchain.yml
File metadata and controls
46 lines (36 loc) · 984 Bytes
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
name: Lint Toolchain
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
lint-toolchain:
name: Lint Toolchain
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: MFC Python setup
uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Initialize MFC
run: ./mfc.sh init
- name: Lint and test the toolchain
run: ./mfc.sh lint
- name: Generate toolchain files
run: ./mfc.sh generate
- name: CLI smoke tests
run: |
./mfc.sh --help
./mfc.sh build --help
./mfc.sh run --help
./mfc.sh test --help
./mfc.sh params --count
./mfc.sh new --list
- name: Bash completion syntax check
run: bash -n toolchain/completions/mfc.bash
- name: Validate example cases
run: |
./mfc.sh validate examples/1D_sodshocktube/case.py
./mfc.sh validate examples/2D_shockbubble/case.py