Skip to content

update workflows ubuntu version #172

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

Merged
merged 5 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: "1"
RUSTFLAGS: "-D warnings"
LLVM_CONFIG_PATH: llvm-config-10
LLVM_CONFIG_PATH: llvm-config-18

jobs:
required:
name: Required
needs:
- ci
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check results
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-24.04
- macos-14
php-version:
- "7.0"
Expand All @@ -61,8 +61,8 @@ jobs:
uses: actions/checkout@v2

- name: Install libclang for Linux
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get install -y llvm-10-dev libclang-10-dev
if: matrix.os == 'ubuntu-24.04'
run: sudo apt-get update && sudo apt-get install -y llvm-18-dev libclang-18-dev

- name: Setup libclang for Macos
if: matrix.os == 'macos-14'
Expand All @@ -77,8 +77,9 @@ jobs:
tools: php-config

- name: Setup php-fpm for Linux
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-24.04'
run: |
sudo apt-get update
sudo apt-get install -y php${{ matrix.php-version }}-fpm
sudo rm -f /usr/sbin/php-fpm
sudo ln -s /usr/sbin/php-fpm${{ matrix.php-version }} /usr/sbin/php-fpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
license-check:
name: License check
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: "1"
RUSTFLAGS: "-D warnings"
LLVM_CONFIG_PATH: llvm-config-10
LLVM_CONFIG_PATH: llvm-config-18
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

jobs:
publish:
name: Publish

runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install libclang
run: sudo apt-get install -y llvm-10-dev libclang-10-dev
run: sudo apt-get install -y llvm-18-dev libclang-18-dev

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
Loading