From d7000229218a1f5a987c3553587f27b148c44564 Mon Sep 17 00:00:00 2001 From: Wunkolo <Wunkolo@gmail.com> Date: Mon, 11 Mar 2024 10:26:45 -0700 Subject: [PATCH] Install all updated components of clang --- .github/workflows/HTTP_Build.yml | 44 ++--- .github/workflows/Hydra_Build.yml | 179 ++++++++++---------- .github/workflows/Linux_AppImage_Build.yml | 62 +++---- .github/workflows/Linux_Build.yml | 56 +++---- .github/workflows/Qt_Build.yml | 186 ++++++++++----------- 5 files changed, 263 insertions(+), 264 deletions(-) diff --git a/.github/workflows/HTTP_Build.yml b/.github/workflows/HTTP_Build.yml index 7bfe9c7f..fbf55ffa 100644 --- a/.github/workflows/HTTP_Build.yml +++ b/.github/workflows/HTTP_Build.yml @@ -19,28 +19,28 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive - - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Install newer Clang + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 all - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DENABLE_HTTP_SERVER=ON + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Build - # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DENABLE_HTTP_SERVER=ON + + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} diff --git a/.github/workflows/Hydra_Build.yml b/.github/workflows/Hydra_Build.yml index 3387d46d..33fb9d2d 100644 --- a/.github/workflows/Hydra_Build.yml +++ b/.github/workflows/Hydra_Build.yml @@ -15,121 +15,120 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Upload core - uses: actions/upload-artifact@v2 - with: - name: Windows core - path: '${{github.workspace}}/build/Release/Alber.dll' + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Upload core + uses: actions/upload-artifact@v2 + with: + name: Windows core + path: "${{github.workspace}}/build/Release/Alber.dll" MacOS: runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Upload core - uses: actions/upload-artifact@v2 - with: - name: MacOS core - path: '${{github.workspace}}/build/libAlber.dylib' + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Upload core + uses: actions/upload-artifact@v2 + with: + name: MacOS core + path: "${{github.workspace}}/build/libAlber.dylib" Linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Install misc packages - run: | - sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev - - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 - - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Install misc packages + run: | + sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON + - name: Install newer Clang + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 all - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Upload core - uses: actions/upload-artifact@v2 - with: - name: Linux core - path: '${{github.workspace}}/build/libAlber.so' + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DBUILD_HYDRA_CORE=ON + + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Upload core + uses: actions/upload-artifact@v2 + with: + name: Linux core + path: "${{github.workspace}}/build/libAlber.so" Android-x64: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Install misc packages - run: | - sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev - - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Install misc packages + run: | + sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DBUILD_HYDRA_CORE=1 -DENABLE_VULKAN=0 + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Upload core - uses: actions/upload-artifact@v2 - with: - name: Android core - path: '${{github.workspace}}/build/libAlber.so' + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_ROOT}/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DBUILD_HYDRA_CORE=1 -DENABLE_VULKAN=0 + + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Upload core + uses: actions/upload-artifact@v2 + with: + name: Android core + path: "${{github.workspace}}/build/libAlber.so" diff --git a/.github/workflows/Linux_AppImage_Build.yml b/.github/workflows/Linux_AppImage_Build.yml index 507187a3..5a49cf9d 100644 --- a/.github/workflows/Linux_AppImage_Build.yml +++ b/.github/workflows/Linux_AppImage_Build.yml @@ -19,40 +19,40 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Install misc packages - run: sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 + - name: Install misc packages + run: sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 - - - name: Setup Vulkan SDK - run: | - wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - - sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list http://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list - sudo apt update - sudo apt install vulkan-sdk + - name: Install newer Clang + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 all - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON + - name: Setup Vulkan SDK + run: | + wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - + sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list http://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list + sudo apt update + sudo apt install vulkan-sdk - - name: Build - # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON - - name: Run AppImage packaging script - run: ./.github/linux-appimage.sh + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Upload executable - uses: actions/upload-artifact@v2 - with: - name: Linux executable - path: './Alber-x86_64.AppImage' + - name: Run AppImage packaging script + run: ./.github/linux-appimage.sh + + - name: Upload executable + uses: actions/upload-artifact@v2 + with: + name: Linux executable + path: "./Alber-x86_64.AppImage" diff --git a/.github/workflows/Linux_Build.yml b/.github/workflows/Linux_Build.yml index 78e5cc5a..ef4f94ff 100644 --- a/.github/workflows/Linux_Build.yml +++ b/.github/workflows/Linux_Build.yml @@ -19,37 +19,37 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Install misc packages - run: sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev + - name: Install misc packages + run: sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 + - name: Install newer Clang + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 all - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON - - name: Build - # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Upload executable - uses: actions/upload-artifact@v2 - with: - name: Linux executable - path: './build/Alber' + - name: Upload executable + uses: actions/upload-artifact@v2 + with: + name: Linux executable + path: "./build/Alber" diff --git a/.github/workflows/Qt_Build.yml b/.github/workflows/Qt_Build.yml index 0b3910d7..e8eccb7d 100644 --- a/.github/workflows/Qt_Build.yml +++ b/.github/workflows/Qt_Build.yml @@ -15,127 +15,127 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Setup Qt - uses: jurplel/install-qt-action@v3 - with: - arch: win64_msvc2019_64 - version: 6.2.0 + - name: Setup Qt + uses: jurplel/install-qt-action@v3 + with: + arch: win64_msvc2019_64 + version: 6.2.0 - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Deploy - run: | - mkdir upload - move build/Release/Alber.exe upload - windeployqt --dir upload upload/Alber.exe + - name: Deploy + run: | + mkdir upload + move build/Release/Alber.exe upload + windeployqt --dir upload upload/Alber.exe - - name: Upload executable - uses: actions/upload-artifact@v2 - with: - name: Windows executable - path: upload + - name: Upload executable + uses: actions/upload-artifact@v2 + with: + name: Windows executable + path: upload MacOS: runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Setup Vulkan SDK - uses: humbletim/setup-vulkan-sdk@v1.2.0 - with: - vulkan-query-version: latest - vulkan-use-cache: true - vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang + - name: Setup Vulkan SDK + uses: humbletim/setup-vulkan-sdk@v1.2.0 + with: + vulkan-query-version: latest + vulkan-use-cache: true + vulkan-components: Vulkan-Headers, Vulkan-Loader, SPIRV-Tools, Glslang - - name: Install bundle dependencies - run: | - brew install dylibbundler imagemagick + - name: Install bundle dependencies + run: | + brew install dylibbundler imagemagick - - name: Install qt - run: brew install qt && which macdeployqt + - name: Install qt + run: brew install qt && which macdeployqt - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Run bundle script - run: | - chmod +x .github/mac-bundle-qt.sh - ./.github/mac-bundle-qt.sh + - name: Run bundle script + run: | + chmod +x .github/mac-bundle-qt.sh + ./.github/mac-bundle-qt.sh - - name: Sign the App - run: codesign --force -s - -vvvv Alber.app + - name: Sign the App + run: codesign --force -s - -vvvv Alber.app - - name: Zip it up - run: zip -r Alber Alber.app + - name: Zip it up + run: zip -r Alber Alber.app - - name: Upload MacOS App - uses: actions/upload-artifact@v2 - with: - name: MacOS Alber App Bundle - path: 'Alber.zip' + - name: Upload MacOS App + uses: actions/upload-artifact@v2 + with: + name: MacOS Alber App Bundle + path: "Alber.zip" Linux: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - name: Fetch submodules - run: git submodule update --init --recursive + - uses: actions/checkout@v2 + - name: Fetch submodules + run: git submodule update --init --recursive - - name: Install misc packages - run: | - sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev - sudo add-apt-repository -y ppa:savoury1/qt-6-2 - sudo apt update - sudo apt install qt6-base-dev qt6-base-private-dev + - name: Install misc packages + run: | + sudo apt-get update && sudo apt install libx11-dev libgl1-mesa-glx mesa-common-dev libfuse2 libwayland-dev + sudo add-apt-repository -y ppa:savoury1/qt-6-2 + sudo apt update + sudo apt install qt6-base-dev qt6-base-private-dev - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 - - - name: Setup Vulkan SDK - run: | - wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - - sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list http://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list - sudo apt update - sudo apt install vulkan-sdk + - name: Install newer Clang + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 all - - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON + - name: Setup Vulkan SDK + run: | + wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - + sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list http://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list + sudo apt update + sudo apt install vulkan-sdk - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17 -DENABLE_USER_BUILD=ON -DENABLE_QT_GUI=ON - - name: Run AppImage packaging script - run: | - chmod +x .github/linux-appimage-qt.sh - ./.github/linux-appimage-qt.sh + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Upload executable - uses: actions/upload-artifact@v2 - with: - name: Linux executable - path: './Alber-x86_64.AppImage' + - name: Run AppImage packaging script + run: | + chmod +x .github/linux-appimage-qt.sh + ./.github/linux-appimage-qt.sh + + - name: Upload executable + uses: actions/upload-artifact@v2 + with: + name: Linux executable + path: "./Alber-x86_64.AppImage"