Add translations to everything #1623
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| env: | |
| VERBOSE: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libfltk1.3-dev fluid gettext appstream | |
| sudo apt-get install -y libpixman-1-dev libjpeg-turbo8-dev | |
| sudo apt-get install -y libgnutls28-dev nettle-dev libgmp-dev | |
| sudo apt-get install -y libxtst-dev libxdamage-dev libxfixes-dev libxrandr-dev libpam-dev | |
| sudo apt-get install -y libavcodec-dev libavutil-dev libswscale-dev | |
| sudo apt-get install -y uuid-dev libglib2.0-dev libpipewire-0.3-dev | |
| sudo apt-get install -y libwayland-dev libxkbcommon-dev | |
| sudo apt-get install -y libgtest-dev | |
| - name: Configure | |
| run: | | |
| cmake \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DENABLE_NLS=ON \ | |
| -DENABLE_H264=ON \ | |
| -DENABLE_GNUTLS=ON \ | |
| -DENABLE_NETTLE=ON \ | |
| -DBUILD_VIEWER=ON \ | |
| -S . -B build | |
| - name: Build | |
| working-directory: build | |
| run: make | |
| - name: Install | |
| working-directory: build | |
| run: make tarball | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Linux (Ubuntu) | |
| path: build/tigervnc-*.tar.gz | |
| - name: Test | |
| continue-on-error: true | |
| working-directory: build | |
| run: ctest --test-dir tests/unit/ --output-junit test-results.xml | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results-linux | |
| path: build/tests/unit/test-results.xml | |
| report-linux: | |
| name: Unit tests (Linux) | |
| runs-on: ubuntu-latest | |
| needs: build-linux | |
| if: always() | |
| steps: | |
| - uses: actions/download-artifact@v8 | |
| with: | |
| name: test-results-linux | |
| - uses: dorny/test-reporter@v3 | |
| with: | |
| artifact: test-results-linux | |
| name: FIXME not used, but required | |
| path: '*.xml' | |
| reporter: java-junit | |
| build-windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 20 | |
| env: | |
| VERBOSE: 1 | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| update: true | |
| - name: Install dependencies | |
| run: | | |
| pacman --sync --noconfirm --needed \ | |
| make mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake | |
| pacman --sync --noconfirm --needed \ | |
| mingw-w64-x86_64-fltk1.3 mingw-w64-x86_64-libjpeg-turbo \ | |
| mingw-w64-x86_64-gnutls mingw-w64-x86_64-pixman \ | |
| mingw-w64-x86_64-nettle mingw-w64-x86_64-gmp \ | |
| mingw-w64-x86_64-gtest | |
| - name: Configure | |
| run: | | |
| cmake \ | |
| -G "MSYS Makefiles" \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DENABLE_NLS=ON \ | |
| -DENABLE_H264=ON \ | |
| -DENABLE_GNUTLS=ON \ | |
| -DENABLE_NETTLE=ON \ | |
| -DBUILD_VIEWER=ON \ | |
| -S . -B build | |
| - name: Build | |
| working-directory: build | |
| run: make | |
| - name: Install | |
| working-directory: build | |
| env: | |
| MSYS2_PATH_TYPE: inherit | |
| run: make installer winvnc_installer | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Windows | |
| path: build/release/tigervnc*.exe | |
| - name: Test | |
| continue-on-error: true | |
| working-directory: build | |
| run: ctest --test-dir tests/unit/ --output-junit test-results.xml | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results-windows | |
| path: build/tests/unit/test-results.xml | |
| report-windows: | |
| name: Unit tests (Windows) | |
| runs-on: ubuntu-latest | |
| needs: build-windows | |
| if: always() | |
| steps: | |
| - uses: dorny/test-reporter@v3 | |
| with: | |
| artifact: test-results-windows | |
| name: FIXME not used, but required | |
| path: '*.xml' | |
| reporter: java-junit | |
| build-macos: | |
| runs-on: macos-latest | |
| timeout-minutes: 20 | |
| env: | |
| VERBOSE: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| brew install fltk@1.3 pixman ffmpeg | |
| brew install gnutls nettle gmp | |
| brew install googletest | |
| brew link fltk@1.3 | |
| - name: Configure | |
| run: | | |
| cmake \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DENABLE_NLS=ON \ | |
| -DENABLE_H264=ON \ | |
| -DENABLE_GNUTLS=ON \ | |
| -DENABLE_NETTLE=ON \ | |
| -DENABLE_WAYLAND=ON \ | |
| -DBUILD_VIEWER=ON \ | |
| -S . -B build | |
| - name: Build | |
| working-directory: build | |
| run: make | |
| - name: Install | |
| working-directory: build | |
| run: make dmg | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: macOS | |
| path: build/release/TigerVNC-*.dmg | |
| - name: Test | |
| continue-on-error: true | |
| working-directory: build | |
| run: ctest --test-dir tests/unit/ --output-junit test-results.xml | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results-macos | |
| path: build/tests/unit/test-results.xml | |
| report-macos: | |
| name: Unit tests (macOS) | |
| runs-on: ubuntu-latest | |
| needs: build-macos | |
| if: always() | |
| steps: | |
| - uses: dorny/test-reporter@v3 | |
| with: | |
| artifact: test-results-macos | |
| name: FIXME not used, but required | |
| path: '*.xml' | |
| reporter: java-junit | |
| build-java: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| env: | |
| VERBOSE: 1 | |
| strategy: | |
| matrix: | |
| java: [ '8', '11', '17', '21' ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: Configure | |
| working-directory: java | |
| run: cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build | |
| - name: Build | |
| working-directory: java/build | |
| run: make | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Java (${{ matrix.java }}) | |
| path: java/build/VncViewer.jar | |
| build-packages: | |
| timeout-minutes: 20 | |
| strategy: | |
| matrix: | |
| target: | |
| - rocky8 | |
| - rocky9 | |
| - rocky10 | |
| - jammy | |
| - noble | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| env: | |
| DOCKER: ${{ matrix.target }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build image | |
| run: docker build -t tigervnc/$DOCKER .github/containers/$DOCKER | |
| - name: Build packages | |
| run: .github/containers/$DOCKER/build.sh | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Packages (${{ matrix.target }}) | |
| path: .github/containers/${{ matrix.target }}/result |