xvfb workflow debugging.

This commit is contained in:
Garth Minette 2021-05-31 16:59:01 -07:00
parent 7b36b2ad48
commit 71e06f5191
3 changed files with 11 additions and 11 deletions

View File

@ -33,15 +33,14 @@ jobs:
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
echo "::add-matcher::.github/openscad_docsgen.json"
- name: Generating Docs Headless
uses: GabrielBB/xvfb-action@v1
with:
working-directory: $GITHUB_WORKSPACE
run: |
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
echo "::add-matcher::.github/openscad_docsgen.json"
openscad-docsgen -ticmI *.scad
OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad-docsgen -ticmI *.scad
- name: Commit Wiki Docs
run: |

View File

@ -31,15 +31,14 @@ jobs:
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
echo "::add-matcher::.github/openscad_docsgen.json"
- name: Generating Docs Headless
uses: GabrielBB/xvfb-action@v1
with:
working-directory: $GITHUB_WORKSPACE
run: |
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
echo "::add-matcher::.github/openscad_docsgen.json"
openscad-docsgen -ticmIf *.scad
OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad-docsgen -ticmIf *.scad
- name: Commit Wiki Docs
run: |

View File

@ -31,15 +31,17 @@ jobs:
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
echo "::add-matcher::.github/openscad_docsgen.json"
- name: Make SCAD File
run: |
cd $GITHUB_WORKSPACE
echo "cube(50, center=100);" > testwf.scad
- name: TestScript
uses: GabrielBB/xvfb-action@v1
with:
working-directory: $GITHUB_WORKSPACE
run: |
cd $GITHUB_WORKSPACE
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
echo "::add-matcher::.github/openscad_docsgen.json"
echo "cube(50, center=100);" > testwf.scad
openscad -o tmp_cube.png --imgsize=640,480 --view=axes,scales --projection=o --autocenter --viewall --preview '' --hardwarnings testwf.scad
OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad -o tmp_cube.png --imgsize=640,480 --view=axes,scales --projection=o --autocenter --viewall --preview '' --hardwarnings testwf.scad