Skip to content

Commit

Permalink
vars
Browse files Browse the repository at this point in the history
Change-Id: I00912e2a997d3efb341fba11a495ca49ff174eb9
  • Loading branch information
kpet committed Nov 24, 2024
1 parent d1f6716 commit 425708c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-mesa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
default: release/19.x
type: string

env:
mesa-branch: ${{ inputs.mesa-branch || '24.3' }}
llvm-branch: ${{ inputs.llvm-branch || 'release/19.x' }}

jobs:
build:
name: Build ${{ matrix.os }}
Expand Down Expand Up @@ -54,7 +58,7 @@ jobs:
key: ${{ matrix.os }}-mesa
- name: Fetch LLVM
run: |
git clone -b ${{ inputs.llvm-branch }} --depth 1 https://github.com/llvm/llvm-project.git llvm-project
git clone -b ${{ env.llvm-branch }} --depth 1 https://github.com/llvm/llvm-project.git llvm-project
- name: Build LLVM (Windows)
if: ${{ matrix.os == 'windows-2022' }}
run: |
Expand All @@ -75,7 +79,7 @@ jobs:
sudo $(which ninja) install
- name: Fetch Mesa
run: |
git clone -b ${{ inputs.mesa-branch }} --depth 1 https://gitlab.freedesktop.org/mesa/mesa.git mesa
git clone -b ${{ env.mesa-branch }} --depth 1 https://gitlab.freedesktop.org/mesa/mesa.git mesa
- name: Compose configuration options
shell: bash
run: |
Expand Down

0 comments on commit 425708c

Please sign in to comment.