Skip to content

Commit 7b23005

Browse files
authored
update workflows ubuntu version (#172)
1 parent 3a7e236 commit 7b23005

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/ci.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ env:
2222
CARGO_TERM_COLOR: always
2323
RUST_BACKTRACE: "1"
2424
RUSTFLAGS: "-D warnings"
25-
LLVM_CONFIG_PATH: llvm-config-10
25+
LLVM_CONFIG_PATH: llvm-config-18
2626

2727
jobs:
2828
required:
2929
name: Required
3030
needs:
3131
- ci
32-
runs-on: ubuntu-20.04
32+
runs-on: ubuntu-24.04
3333
steps:
3434
- name: Check results
3535
run: |
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os:
44-
- ubuntu-20.04
44+
- ubuntu-24.04
4545
- macos-14
4646
php-version:
4747
- "7.0"
@@ -61,8 +61,8 @@ jobs:
6161
uses: actions/checkout@v2
6262

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

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

7979
- name: Setup php-fpm for Linux
80-
if: matrix.os == 'ubuntu-20.04'
80+
if: matrix.os == 'ubuntu-24.04'
8181
run: |
82+
sudo apt-get update
8283
sudo apt-get install -y php${{ matrix.php-version }}-fpm
8384
sudo rm -f /usr/sbin/php-fpm
8485
sudo ln -s /usr/sbin/php-fpm${{ matrix.php-version }} /usr/sbin/php-fpm

.github/workflows/license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
license-check:
2222
name: License check
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-24.04
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v2

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ env:
1919
CARGO_TERM_COLOR: always
2020
RUST_BACKTRACE: "1"
2121
RUSTFLAGS: "-D warnings"
22-
LLVM_CONFIG_PATH: llvm-config-10
22+
LLVM_CONFIG_PATH: llvm-config-18
2323
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2424

2525
jobs:
2626
publish:
2727
name: Publish
2828

29-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-24.04
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v2
3333

3434
- name: Install libclang
35-
run: sudo apt-get install -y llvm-10-dev libclang-10-dev
35+
run: sudo apt-get install -y llvm-18-dev libclang-18-dev
3636

3737
- name: Setup PHP
3838
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)