Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes testing to use the new setup-blender GHA #696

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

BradyAJohnston
Copy link
Owner

@BradyAJohnston BradyAJohnston commented Dec 20, 2024

Changes the test to use the new setup-blender GHA that I created.

Doesn't do any fancy scraping of versions, just downloads and installs the specified version numbers, up to the user to provide.

Now a much smaller .yml file is required:

name: Run Tests

on: 
    push:
      branches: ["main"]
    pull_request:
      branches: ["*"]
    
jobs:
    build:
        runs-on: ${{ matrix.os }}
        strategy:
            max-parallel: 4
            fail-fast: false
            matrix:
              version: ["4.2", "4.3"]
              os: [macos-14, "ubuntu-latest", "windows-latest"]
        steps:
            - uses: actions/checkout@v4
            - name: Install Blender
              uses: bradyajohnston/setup-blender@v1
              with:
                version: ${{ matrix.version }}
            - name: Run tests in Blender
              run: blender --version

@BradyAJohnston BradyAJohnston merged commit 2470bc8 into main Dec 20, 2024
8 checks passed
@BradyAJohnston BradyAJohnston deleted the gha-setup-blender branch December 20, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant