diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..df9e0c5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + groups: + github-actions: + patterns: + - "*" diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 77de6a6..18b5f4a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,7 +18,7 @@ jobs: has_targets: ${{ steps.detect.outputs.has_targets }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -59,19 +59,14 @@ jobs: CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD || secrets.GITEA_TOKEN }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install host build tools - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - build-essential \ - gcc-14 \ - g++-14 \ - cmake \ - ninja-build \ - graphviz \ - crudini + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: build-essential gcc-14 g++-14 cmake ninja-build graphviz crudini + version: 1.0 + execute_install_scripts: true - name: Set gcc-14 as default run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc269cd..9ca673f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: has_targets: ${{ steps.detect.outputs.has_targets }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -56,19 +56,14 @@ jobs: matrix: ${{ fromJson(needs.detect-targets.outputs.matrix) }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install host build tools - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - build-essential \ - gcc-14 \ - g++-14 \ - cmake \ - ninja-build \ - graphviz \ - crudini + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: build-essential gcc-14 g++-14 cmake ninja-build graphviz crudini + version: 1.0 + execute_install_scripts: true - name: Set gcc-14 as default run: | diff --git a/README.md b/README.md index 599e3eb..9d9302b 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,4 @@ The goal of this repo is provide some **non-official** recipes for libraries tha * bibliography: [conan-center-index](https://github.com/conan-io/conan-center-index/tree/master) * [audacity/conan-recipes](https://github.com/audacity/conan-recipes) -* [bkinnightskytw/ethercat](https://gitlab.com/bkinnightskytw/ethercat/-/tree/backport/1.5.3-conan?ref_type=heads) - +* [bkinnightskytw/ethercat](https://gitlab.com/bkinnightskytw/ethercat/-/tree/backport/1.5.3-conan?ref_type=heads) (recipe: `igh-ethercat`) diff --git a/recipes/ethercat/all/CMakeLists.txt b/recipes/igh-ethercat/all/CMakeLists.txt similarity index 100% rename from recipes/ethercat/all/CMakeLists.txt rename to recipes/igh-ethercat/all/CMakeLists.txt diff --git a/recipes/ethercat/all/conandata.yml b/recipes/igh-ethercat/all/conandata.yml similarity index 100% rename from recipes/ethercat/all/conandata.yml rename to recipes/igh-ethercat/all/conandata.yml diff --git a/recipes/ethercat/all/conanfile.py b/recipes/igh-ethercat/all/conanfile.py similarity index 97% rename from recipes/ethercat/all/conanfile.py rename to recipes/igh-ethercat/all/conanfile.py index 6d9b668..464fba3 100644 --- a/recipes/ethercat/all/conanfile.py +++ b/recipes/igh-ethercat/all/conanfile.py @@ -5,8 +5,8 @@ from conan.tools.files import copy, get import os -class EthercatConan(ConanFile): - name = "ethercat" +class IghEthercatConan(ConanFile): + name = "igh-ethercat" license = "LGPL-2.1-only" author = "Florian Pose " url = "https://gitlab.com/etherlab.org/ethercat" diff --git a/recipes/ethercat/all/test_package/CMakeLists.txt b/recipes/igh-ethercat/all/test_package/CMakeLists.txt similarity index 100% rename from recipes/ethercat/all/test_package/CMakeLists.txt rename to recipes/igh-ethercat/all/test_package/CMakeLists.txt diff --git a/recipes/ethercat/all/test_package/conanfile.py b/recipes/igh-ethercat/all/test_package/conanfile.py similarity index 100% rename from recipes/ethercat/all/test_package/conanfile.py rename to recipes/igh-ethercat/all/test_package/conanfile.py diff --git a/recipes/ethercat/all/test_package/test_package.c b/recipes/igh-ethercat/all/test_package/test_package.c similarity index 100% rename from recipes/ethercat/all/test_package/test_package.c rename to recipes/igh-ethercat/all/test_package/test_package.c