From 27548979d58ac786adf5e91cc52516728c4850b7 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Sat, 8 Jun 2024 16:35:52 -0700 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..253f49a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: Verify Addon + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + BLENDER_VERSION: blender-4.2.0-beta+v42.d19d23e91f65-linux.x86_64-release + BLENDER_FILENAME: ${{ env.BLENDER_VERSION }}.tar.xz + BLENDER_URL: https://cdn.builder.blender.org/download/daily/${{ env.BLENDER_FILENAME }} + +jobs: + configurator: + runs-on: ubuntu-latest + steps: + - name: Install Blender Dependencies + run: | + apt install libxxf86vm-dev -y + apt install libxfixes3 -y + apt install libxi-dev -y + apt install libxkbcommon-x11-0 -y + apt install libgl1-mesa-glx -y + - name: Download Blender + run: | + wget ${{ env.BLENDER_URL }} + tar -xvzf ${{ env.BLENDER_FILENAME }} + rm -rf ${{ env.BLENDER_FILENAME }} + - uses: actions/checkout@v3