Skip to content

Commit aa54481

Browse files
committed
build: disable LLVM cache
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent de5cc4b commit aa54481

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -575,50 +575,32 @@ jobs:
575575
os: [ubuntu-22.04, macos-15]
576576
php-version: ["8.2", "8.3", "8.4"]
577577
clang: ["20"]
578-
579578
name: PHP ${{ matrix.php-version }} on ${{ matrix.os }}
580579
runs-on: ${{ matrix.os }}
581580
steps:
582581
- uses: actions/checkout@v6
583-
584582
- uses: dtolnay/rust-toolchain@stable
585-
586-
- name: Cache LLVM and Clang
587-
id: cache-llvm
588-
uses: actions/cache@v4
589-
if: matrix.os == 'ubuntu-22.04'
590-
with:
591-
path: ${{ runner.temp }}/llvm-${{ matrix.clang }}
592-
key: ${{ matrix.os }}-llvm-${{ matrix.clang }}
593-
594583
- name: Setup LLVM & Clang
595584
uses: KyleMayes/install-llvm-action@v2
596585
if: matrix.os == 'ubuntu-22.04'
597586
with:
598587
version: ${{ matrix.clang }}
599588
directory: ${{ runner.temp }}/llvm-${{ matrix.clang }}
600-
601589
- name: Configure Clang
602590
if: matrix.os == 'ubuntu-22.04'
603591
run: |
604592
echo "LIBCLANG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/lib" >> $GITHUB_ENV
605-
echo "LLVM_VERSION=${{ steps.clang.outputs.version }}" >> $GITHUB_ENV
606593
echo "LLVM_CONFIG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/bin/llvm-config" >> $GITHUB_ENV
607-
608594
- uses: shivammathur/setup-php@v2
609595
with:
610596
php-version: ${{ matrix.php-version }}
611597
extensions: mbstring
612598
coverage: none
613-
614599
- name: Build PHP extension
615600
run: |
616601
export PHP_CONFIG=$(which php-config)
617-
618602
cargo build --release
619-
620603
EXT_DIR=$(php -r "echo ini_get('extension_dir');")
621-
622604
if [[ "${{ matrix.os }}" == "macos-15" ]]; then
623605
BUILT_LIB=$(find target/release -name "libcss_inline_php.dylib" -o -name "css_inline_php.dylib" | head -1)
624606
if [[ -z "$BUILT_LIB" ]]; then
@@ -631,7 +613,6 @@ jobs:
631613
fi
632614
working-directory: ./bindings/php
633615
shell: bash
634-
635616
- name: Enable and verify extension
636617
run: |
637618
if [[ "${{ matrix.os }}" == "macos-15" ]]; then
@@ -641,15 +622,12 @@ jobs:
641622
echo "extension=css_inline" | sudo tee /etc/php/${{ matrix.php-version }}/cli/conf.d/99-css_inline.ini
642623
fi
643624
shell: bash
644-
645625
- name: Install dependencies
646626
run: composer install --no-interaction --prefer-dist
647627
working-directory: ./bindings/php
648-
649628
- name: Lint PHP code
650629
run: composer lint
651630
working-directory: ./bindings/php
652-
653631
- name: Run tests
654632
run: composer test
655633
working-directory: ./bindings/php

0 commit comments

Comments
 (0)