name: CI on: [pull_request] jobs: Regressions: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Clone Wiki run: | cd $GITHUB_WORKSPACE git clone https://github.com/revarbat/BOSL2.wiki.git - 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: Run Regression Tests run: | cd $GITHUB_WORKSPACE export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) ./scripts/run_tests.sh CheckDocs: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Clone Wiki run: | cd $GITHUB_WORKSPACE git clone https://github.com/revarbat/BOSL2.wiki.git - 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: Generating Docs run: | cd $GITHUB_WORKSPACE export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad-docsgen -Tm *.scad