From 97ceb6a8470942d8ddbd8ec36c06422738765046 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 8 Oct 2024 18:26:14 -0600 Subject: [PATCH] Give up on ubuntu-latest workflow Qt keeps failing --- .github/workflows/cmake.yml | 88 +++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1e23a3e..fd1d713 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -10,7 +10,9 @@ jobs: build: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + # Can't seem to get the right secret sauce to build Qt on ubuntu-latest under github actions + # os: [ ubuntu-latest, windows-latest ] + os: [ windows-latest ] runs-on: ${{matrix.os}} env: VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" @@ -27,48 +29,48 @@ jobs: core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); - - name: Install Qt - if: matrix.os == 'ubuntu-latest' - uses: jurplel/install-qt-action@v4 - - - name: Install Prerequisites - if: matrix.os == 'ubuntu-latest' - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: > - autoconf - automake - autoconf-archive - build-essential - libegl1-mesa-dev - libgl1-mesa-dev - libglu1-mesa-dev - libgstreamer-gl1.0-0 - libpulse-dev - libx11-xcb-dev - libxcb-cursor0 - libxcb-glx0 - libxcb-icccm4 - libxcb-image0 - libxcb-keysyms1 - libxcb-randr0 - libxcb-render-util0 - libxcb-render0 - libxcb-shape0 - libxcb-shm0 - libxcb-sync1 - libxcb-util1 - libxcb-xfixes0 - libxcb-xinerama0 - libxcb-xkb-dev - libxcb1 - libxi-dev - libxkbcommon-dev - libxkbcommon-x11-0 - libxkbcommon-x11-dev - libxrender-dev - libtool - pkg-config + #- name: Install Qt + # if: matrix.os == 'ubuntu-latest' + # uses: jurplel/install-qt-action@v4 + # + #- name: Install Prerequisites + # if: matrix.os == 'ubuntu-latest' + # uses: awalsh128/cache-apt-pkgs-action@latest + # with: + # packages: > + # autoconf + # automake + # autoconf-archive + # build-essential + # libegl1-mesa-dev + # libgl1-mesa-dev + # libglu1-mesa-dev + # libgstreamer-gl1.0-0 + # libpulse-dev + # libx11-xcb-dev + # libxcb-cursor0 + # libxcb-glx0 + # libxcb-icccm4 + # libxcb-image0 + # libxcb-keysyms1 + # libxcb-randr0 + # libxcb-render-util0 + # libxcb-render0 + # libxcb-shape0 + # libxcb-shm0 + # libxcb-sync1 + # libxcb-util1 + # libxcb-xfixes0 + # libxcb-xinerama0 + # libxcb-xkb-dev + # libxcb1 + # libxi-dev + # libxkbcommon-dev + # libxkbcommon-x11-0 + # libxkbcommon-x11-dev + # libxrender-dev + # libtool + # pkg-config - name: Run Workflow run: cmake --workflow --preset default