@@ -79,14 +79,14 @@ jobs:
79
79
uname -a
80
80
81
81
- name : Install patchelf for ubuntu
82
- if : matrix.os == 'ubuntu-20 .04'
82
+ if : matrix.os == 'ubuntu-22 .04'
83
83
shell : bash
84
84
run : |
85
85
sudo apt-get update -q
86
86
sudo apt-get install -q -y patchelf
87
87
88
88
- name : Show Patchelf version (ubuntu)
89
- if : matrix.os == 'ubuntu-20 .04'
89
+ if : matrix.os == 'ubuntu-22 .04'
90
90
shell : bash
91
91
run : |
92
92
patchelf --version
@@ -104,7 +104,7 @@ jobs:
104
104
cd build
105
105
os=${{ matrix.os }}
106
106
107
- if [[ $os == 'windows-latest' || $os == 'ubuntu-20 .04' ]]; then
107
+ if [[ $os == 'windows-latest' || $os == 'ubuntu-22 .04' ]]; then
108
108
BUILD_SHARED_LIBS=ON
109
109
else
110
110
BUILD_SHARED_LIBS=OFF
@@ -139,7 +139,7 @@ jobs:
139
139
lazbuild --verbose --build-mode=Release --widgetset=cocoa ./generate_subtitles.lpi
140
140
elif [[ $os == macos-latest ]]; then
141
141
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
143
143
lazbuild --verbose --build-mode=Release-Linux ./generate_subtitles.lpi
144
144
else
145
145
lazbuild --verbose --build-mode=Release ./generate_subtitles.lpi
@@ -152,7 +152,7 @@ jobs:
152
152
ls -lh
153
153
154
154
- name : Collect generating subtitles (Ubuntu)
155
- if : matrix.os == 'ubuntu-20 .04'
155
+ if : matrix.os == 'ubuntu-22 .04'
156
156
shell : bash
157
157
run : |
158
158
SHERPA_ONNX_VERSION=$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
@@ -223,7 +223,7 @@ jobs:
223
223
ls -lh /tmp/macos-*
224
224
225
225
- uses : actions/upload-artifact@v4
226
- if : matrix.os == 'ubuntu-20 .04'
226
+ if : matrix.os == 'ubuntu-22 .04'
227
227
with :
228
228
name : linux-x64
229
229
path : /tmp/linux-x64
0 commit comments