TEMP: macOS fullscreen test #281
Workflow file for this run
This file contains 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 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gettext appstream | |
sudo apt-get install -y libgnutls28-dev nettle-dev libgmp-dev | |
sudo apt-get install -y qtbase5-dev libqt5x11extras5-dev | |
sudo apt-get install -y libxtst-dev libxdamage-dev libxfixes-dev libxrandr-dev libxcursor-dev libpam-dev | |
sudo apt-get install -y libavcodec-dev libavutil-dev libswscale-dev | |
- name: Configure | |
run: cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build | |
- name: Build | |
working-directory: build | |
run: make | |
- name: Install | |
working-directory: build | |
run: make tarball | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Linux (Ubuntu) | |
path: build/tigervnc-*.tar.gz | |
build-linux-qt6: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gettext appstream | |
sudo apt-get install -y libgnutls28-dev nettle-dev libgmp-dev | |
sudo apt-get install -y libgl-dev qt6-base-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 | |
- name: Configure | |
run: cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build | |
- name: Build | |
working-directory: build | |
run: make | |
- name: Install | |
working-directory: build | |
run: make tarball | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Linux (Ubuntu) | |
path: build/tigervnc-*.tar.gz | |
build-windows: | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: msys2/setup-msys2@v2 | |
- 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-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-qt5-base mingw-w64-x86_64-qt5-tools | |
- name: Configure | |
run: cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -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@v3 | |
with: | |
name: Windows | |
path: build/release/tigervnc*.exe | |
build-windows-qt6: | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: msys2/setup-msys2@v2 | |
- 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-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-qt6-base | |
- name: Configure | |
run: cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -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@v3 | |
with: | |
name: Windows | |
path: build/release/tigervnc*.exe | |
build-macos: | |
runs-on: macos-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
brew install pixman ffmpeg | |
brew install gnutls nettle gmp | |
brew install qt@5 | |
- name: Configure | |
run: | | |
export PATH="/usr/local/opt/qt@5/bin:$PATH" | |
cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build | |
- name: Build | |
working-directory: build | |
run: make | |
- name: Install | |
working-directory: build | |
run: make dmg | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: macOS | |
path: build/TigerVNC-*.dmg | |
build-macos-qt6: | |
runs-on: macos-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
brew install pixman ffmpeg | |
brew install gnutls nettle gmp | |
brew install qt@6 | |
- name: Configure | |
run: | | |
export PATH="/usr/local/opt/qt@6/bin:$PATH" | |
cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build | |
- name: Build | |
working-directory: build | |
run: make | |
- name: Install | |
working-directory: build | |
run: make dmg | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: macOS | |
path: build/TigerVNC-*.dmg | |
build-java: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
java: [ '8', '11', '16' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
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@v3 | |
with: | |
name: Java (${{ matrix.java }}) | |
path: java/build/VncViewer.jar | |
build-packages: | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
target: | |
- rocky8 | |
- rocky9 | |
- focal | |
- jammy | |
fail-fast: false | |
runs-on: ubuntu-latest | |
env: | |
DOCKER: ${{ matrix.target }} | |
steps: | |
- uses: actions/checkout@v3 | |
- 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@v3 | |
with: | |
name: Packages (${{ matrix.target }}) | |
path: .github/containers/${{ matrix.target }}/result |