mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
xvfb workflow debugging.
This commit is contained in:
parent
7b36b2ad48
commit
71e06f5191
5
.github/workflows/docsgen.yml
vendored
5
.github/workflows/docsgen.yml
vendored
@ -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: |
|
||||
|
5
.github/workflows/forced_docsgen.yml
vendored
5
.github/workflows/forced_docsgen.yml
vendored
@ -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: |
|
||||
|
12
.github/workflows/testwf.yml
vendored
12
.github/workflows/testwf.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user