File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : 1. Update Sistem & Install Dependensi Dasar
3030 run : |
3131 sudo apt-get update
32- sudo apt-get install -y software-properties-common curl build-essential zlib1g-dev
32+ sudo apt-get install -y software-properties-common curl build-essential zlib1g-dev binutils
3333
3434 - name : 2. Tambahkan PPA Ondřej & Install PHP + PEAR + XML
3535 # Kunci perbaikannya ada di baris paling bawah ini (menambahkan paket php-xml)
@@ -42,14 +42,14 @@ jobs:
4242 run : |
4343 sudo pecl install grpc-${{ github.event.inputs.grpc_version }}
4444
45- - name : 4. Ambil File grpc.so
45+ - name : 4. Ambil dan strip File grpc.so
4646 run : |
4747 EXT_DIR=$(php-config --extension-dir)
4848 echo "File grpc.so berhasil dibuat di direktori: $EXT_DIR"
49- cp $EXT_DIR /grpc.so . /grpc.so
49+ strip --strip-debug -o . /grpc.so $EXT_DIR /grpc.so
5050
5151 - name : 5. Upload File grpc.so sebagai Artifact
5252 uses : actions/upload-artifact@v4
5353 with :
5454 name : grpc-${{ matrix.arch }}-ubuntu22.04-php${{ github.event.inputs.php_version }}-v${{ github.event.inputs.grpc_version }}
55- path : ./grpc.so
55+ path : ./grpc.so
You can’t perform that action at this time.
0 commit comments