mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Split out github action tutorial check.
This commit is contained in:
parent
b436dba2d3
commit
2ed060fb35
1 changed files with 36 additions and 8 deletions
44
.github/workflows/main.yml
vendored
44
.github/workflows/main.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||||
./scripts/run_tests.sh
|
./scripts/run_tests.sh
|
||||||
|
|
||||||
CheckDocs:
|
CheckTutorials:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -55,13 +55,6 @@ jobs:
|
||||||
echo "::add-matcher::.github/check_for_tabs.json"
|
echo "::add-matcher::.github/check_for_tabs.json"
|
||||||
./scripts/check_for_tabs.sh
|
./scripts/check_for_tabs.sh
|
||||||
|
|
||||||
- name: Checking Docs
|
|
||||||
run: |
|
|
||||||
cd $GITHUB_WORKSPACE
|
|
||||||
echo "::add-matcher::.github/openscad_docsgen.json"
|
|
||||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
|
||||||
openscad-docsgen -Tmf *.scad
|
|
||||||
|
|
||||||
- name: Checking Tutorials
|
- name: Checking Tutorials
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE
|
cd $GITHUB_WORKSPACE
|
||||||
|
@ -69,3 +62,38 @@ jobs:
|
||||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||||
openscad-mdimggen -T *.scad
|
openscad-mdimggen -T *.scad
|
||||||
|
|
||||||
|
CheckDocs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Clone Wiki
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: revarbat/BOSL2.wiki
|
||||||
|
path: BOSL2.wiki
|
||||||
|
|
||||||
|
- name: Apt Update
|
||||||
|
run: sudo apt update
|
||||||
|
|
||||||
|
- name: Install Python dev
|
||||||
|
run: sudo apt-get install python3-pip python3-dev python3-setuptools python3-pil
|
||||||
|
|
||||||
|
- name: Install OpenSCAD-DocsGen package.
|
||||||
|
run: sudo pip3 install openscad-docsgen
|
||||||
|
|
||||||
|
- name: Install OpenSCAD
|
||||||
|
run: |
|
||||||
|
cd $GITHUB_WORKSPACE
|
||||||
|
wget https://files.openscad.org/OpenSCAD-2021.01-x86_64.AppImage
|
||||||
|
sudo mv OpenSCAD-2021.01*-x86_64.AppImage /usr/local/bin/openscad
|
||||||
|
sudo chmod +x /usr/local/bin/openscad
|
||||||
|
|
||||||
|
- name: Checking Docs
|
||||||
|
run: |
|
||||||
|
cd $GITHUB_WORKSPACE
|
||||||
|
echo "::add-matcher::.github/openscad_docsgen.json"
|
||||||
|
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||||
|
openscad-docsgen -Tmf *.scad
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue