Skip to content

Commit fa87cd2

Browse files
committed
fix lazarus
1 parent b443aae commit fa87cd2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/aarch64-linux-gnu-static.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
6161
if: steps.cache-qemu.outputs.cache-hit != 'true'
6262
run: |
6363
sudo apt-get update
64-
# sudo apt-get install autoconf automake autotools-dev ninja-build libglib2.0-dev.
6564
sudo apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev binutils-dev libboost-all-dev autoconf libtool libssl-dev libpixman-1-dev ninja-build
6665
6766
- name: checkout-qemu

.github/workflows/lazarus.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ jobs:
7979
uname -a
8080
8181
- name: Install patchelf for ubuntu
82-
if: matrix.os == 'ubuntu-20.04'
82+
if: matrix.os == 'ubuntu-22.04'
8383
shell: bash
8484
run: |
8585
sudo apt-get update -q
8686
sudo apt-get install -q -y patchelf
8787
8888
- name: Show Patchelf version (ubuntu)
89-
if: matrix.os == 'ubuntu-20.04'
89+
if: matrix.os == 'ubuntu-22.04'
9090
shell: bash
9191
run: |
9292
patchelf --version
@@ -104,7 +104,7 @@ jobs:
104104
cd build
105105
os=${{ matrix.os }}
106106
107-
if [[ $os == 'windows-latest' || $os == 'ubuntu-20.04' ]]; then
107+
if [[ $os == 'windows-latest' || $os == 'ubuntu-22.04' ]]; then
108108
BUILD_SHARED_LIBS=ON
109109
else
110110
BUILD_SHARED_LIBS=OFF
@@ -139,7 +139,7 @@ jobs:
139139
lazbuild --verbose --build-mode=Release --widgetset=cocoa ./generate_subtitles.lpi
140140
elif [[ $os == macos-latest ]]; then
141141
lazbuild --verbose --build-mode=Release --widgetset=cocoa --cpu=aarch64 ./generate_subtitles.lpi
142-
elif [[ $os == 'ubuntu-20.04' ]]; then
142+
elif [[ $os == 'ubuntu-22.04' ]]; then
143143
lazbuild --verbose --build-mode=Release-Linux ./generate_subtitles.lpi
144144
else
145145
lazbuild --verbose --build-mode=Release ./generate_subtitles.lpi
@@ -152,7 +152,7 @@ jobs:
152152
ls -lh
153153
154154
- name: Collect generating subtitles (Ubuntu)
155-
if: matrix.os == 'ubuntu-20.04'
155+
if: matrix.os == 'ubuntu-22.04'
156156
shell: bash
157157
run: |
158158
SHERPA_ONNX_VERSION=$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
@@ -223,7 +223,7 @@ jobs:
223223
ls -lh /tmp/macos-*
224224
225225
- uses: actions/upload-artifact@v4
226-
if: matrix.os == 'ubuntu-20.04'
226+
if: matrix.os == 'ubuntu-22.04'
227227
with:
228228
name: linux-x64
229229
path: /tmp/linux-x64

0 commit comments

Comments
 (0)