Skip to content

Commit c3748dd

Browse files
committed
test
1 parent cd238a8 commit c3748dd

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Test Qt lrelease on Ubuntu 20.04
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test-lrelease:
8+
runs-on: ubuntu-latest
9+
container:
10+
image: ubuntu:20.04
11+
12+
env:
13+
DEBIAN_FRONTEND: noninteractive
14+
QT_PREFIX: /opt/qt-host-tools
15+
QT_VERSION: "6.8.3"
16+
QT_HOST_SHA256: "8bbea76f5298021048f54c3e2934d7a73e2e6498ebc5a0cb30de16e24a66d847"
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Install minimal deps
22+
run: |
23+
apt-get update
24+
apt-get install -y ca-certificates python3 p7zip-full
25+
rm -rf /var/lib/apt/lists/*
26+
27+
- name: Download qttools only
28+
run: |
29+
mkdir -p "$QT_PREFIX"
30+
cd "$QT_PREFIX"
31+
python3 "$GITHUB_WORKSPACE/.github/qt_helper.py" \
32+
linux_x64 desktop "$QT_VERSION" linux_gcc_64 "$QT_HOST_SHA256" \
33+
--archive 'qttools-*.7z'
34+
35+
- name: Test lrelease loader/glibc compatibility
36+
run: |
37+
find "$QT_PREFIX" -type f -name lrelease -print
38+
"$QT_PREFIX/bin/lrelease" -version

0 commit comments

Comments
 (0)