From 628987a9d59662692477197790e33dd9329aae95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kubern=C3=A1t?= Date: Wed, 23 Oct 2024 21:24:36 +0200 Subject: [PATCH] I need to increase cache entries --- .github/workflows/lint.yml | 4 - .github/workflows/lupdate.yml | 35 ------ .github/workflows/test.yml | 202 ---------------------------------- 3 files changed, 241 deletions(-) delete mode 100644 .github/workflows/lupdate.yml delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index afdedbce4..250f71496 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,10 +1,6 @@ # vim: sw=2 name: Lint -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - on: push: branches: [ "master" ] diff --git a/.github/workflows/lupdate.yml b/.github/workflows/lupdate.yml deleted file mode 100644 index 86692745f..000000000 --- a/.github/workflows/lupdate.yml +++ /dev/null @@ -1,35 +0,0 @@ -# vim: sw=2 -name: lupdate - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - ubuntu-qt6: - name: Qt 6.5.3 / Ubuntu 22.04 - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.5.3 - use_qt6: ON - ccache: 'false' - modules: qtserialport qtwebsockets - - - name: Refresh translation files - run: cmake --build '${{github.workspace}}/build' --target update_translations - - - name: Check changes - run: git diff --exit-code diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index b4d1c2b8c..000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,202 +0,0 @@ -# vim: sw=2 -name: Test - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - ubuntu-qt5: - name: Qt 5.15.2 / Ubuntu 22.04 - runs-on: ubuntu-22.04 - env: - CFLAGS: -fsanitize=address,undefined - CXXFLAGS: -fsanitize=address,undefined - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 5.15.2 - use_qt6: OFF - modules: "" - - - name: Build and test - uses: ./.github/actions/build-and-test - - ubuntu-qt6-5: - name: Qt 6.5.3 / Ubuntu 22.04 - runs-on: ubuntu-22.04 - env: - CFLAGS: -fsanitize=address,undefined - CXXFLAGS: -fsanitize=address,undefined - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.5.3 - use_qt6: ON - modules: qtserialport qtwebsockets - - - name: Build and test - uses: ./.github/actions/build-and-test - - ubuntu-qt6-7: - name: Qt 6.7.3 / Ubuntu 22.04 - runs-on: ubuntu-22.04 - env: - CFLAGS: -fsanitize=address,undefined - CXXFLAGS: -fsanitize=address,undefined - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.7.3 - qt_arch: linux_gcc_64 - use_qt6: ON - modules: qtserialport qtwebsockets - - - name: Build and test - uses: ./.github/actions/build-and-test - - windows-mingw: - name: Qt 6.5.3 / Windows MinGW - runs-on: windows-2022 - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.5.3 - qt_arch: win64_mingw - use_qt6: ON - modules: qtserialport qtwebsockets - # Need to get all binaries in the same directory, otherwise the tests can't find the dlls. - additional_cmake_args: | - -DLIBSHV_WITH_LDAP=OFF \ - -DCMAKE_RUNTIME_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin' \ - -DCMAKE_LIBRARY_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin' - - - name: Build and test - uses: ./.github/actions/build-and-test - - windows-msvc: - name: Qt 6.5.3 / Windows MSVC - runs-on: windows-2022 - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.5.3 - qt_arch: win64_msvc2019_64 - use_qt6: ON - modules: qtserialport qtwebsockets - # Need to get all binaries in the same directory, otherwise the tests can't find the dlls. - additional_cmake_args: | - -DLIBSHV_WITH_LDAP=OFF \ - -DCMAKE_RUNTIME_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin' \ - -DCMAKE_LIBRARY_OUTPUT_DIRECTORY='${{github.workspace}}/build/bin' - - - name: Build and test - uses: ./.github/actions/build-and-test - - android: - name: Qt 6.7.3 / Android - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.7.3 - qt_arch: android_arm64_v8a - use_qt6: ON - modules: qtserialport qtwebsockets - additional_cmake_args: -DLIBSHV_WITH_LDAP=OFF - - - name: Build and test - uses: ./.github/actions/build-and-test - - wasm: - name: WebAssembly / Qt 6.6.3 - runs-on: ubuntu-22.04 - env: - emsdk_cache_dir: "emsdk-cache" - steps: - - name: Clone the repository - uses: actions/checkout@v4 - with: - submodules: true - - - name: Setup emsdk cache - uses: actions/cache@v4 - with: - key: emsdk-cache - path: ${{ env.emsdk_cache_dir }} - - - uses: mymindstorm/setup-emsdk@v14 - with: - version: 3.1.37 - actions-cache-folder: ${{ env.emsdk_cache_dir }} - - - name: Setup CMake - uses: ./.github/actions/cmake - with: - qt_version: 6.6.3 - qt_arch: wasm_singlethread - use_qt6: ON - modules: qtwebsockets - - - name: Build and test - uses: ./.github/actions/build-and-test - - nix: - name: Qt 6.6.2 / NixOS - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Install Nix - uses: cachix/install-nix-action@v20 - with: - nix_path: nixpkgs=channel:nixos-unstable - - name: Build - run: nix --experimental-features 'nix-command flakes' build -L . - - name: Build Full - run: nix --experimental-features 'nix-command flakes' build -L .#full - - name: Build CLI - run: nix --experimental-features 'nix-command flakes' build -L .#cli - - name: Build for clients - run: nix --experimental-features 'nix-command flakes' build -L .#forClients - - name: Flake check - run: nix --experimental-features 'nix-command flakes' flake check . - - name: Format - run: nix --experimental-features 'nix-command flakes' fmt && git diff --exit-code