diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-05 16:18:55 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-05 16:18:55 +0300 |
| commit | adec4f3aebe0604f5c43b6f3a92879e7f4defec8 (patch) | |
| tree | 5ad302c3af71c6c0dad2539f7f28cae47c932c0d /.github | |
| parent | 4dd69a1dffd158f03da7e33c0be28f2b98a9ccea (diff) | |
| download | Project-Tick-adec4f3aebe0604f5c43b6f3a92879e7f4defec8.tar.gz Project-Tick-adec4f3aebe0604f5c43b6f3a92879e7f4defec8.zip | |
NOISSUE Fix workflows, cgit, genqrcode, meshmc wiki url, mnv with Cmake
Fixed some reusable workflows.
Fixed cgit.h for macOS target
updated genqrcode CMake version
Changed Meta generator to use Project Tick official builded ForgeWrapper
Updated MeshMC wiki Urls
Fixed MNV test issue
Added CMake Presets in MNV
Thats it!
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/corebinutils-ci.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/genqrcode-ci.yml | 14 | ||||
| -rw-r--r-- | .github/workflows/json4cpp-ci.yml | 16 | ||||
| -rw-r--r-- | .github/workflows/libnbtplusplus-ci.yml | 14 | ||||
| -rw-r--r-- | .github/workflows/neozip-osb.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/tomlplusplus-ci.yml | 10 |
6 files changed, 42 insertions, 19 deletions
diff --git a/.github/workflows/corebinutils-ci.yml b/.github/workflows/corebinutils-ci.yml index 74f49f4a51..67f5550f46 100644 --- a/.github/workflows/corebinutils-ci.yml +++ b/.github/workflows/corebinutils-ci.yml @@ -26,7 +26,8 @@ jobs: build-essential \ bmake \ libbsd-dev \ - libmd-dev + libmd-dev \ + musl-tools - name: Configure run: | diff --git a/.github/workflows/genqrcode-ci.yml b/.github/workflows/genqrcode-ci.yml index 202eba4e43..f5e007746b 100644 --- a/.github/workflows/genqrcode-ci.yml +++ b/.github/workflows/genqrcode-ci.yml @@ -20,11 +20,15 @@ jobs: - uses: actions/checkout@v6 - name: Install vcpkg deps (Windows) if: matrix.os == 'windows-latest' - uses: lukka/run-vcpkg@v6 + uses: lukka/run-vcpkg@v11 with: - vcpkgArguments: getopt:x64-windows libiconv:x64-windows libpng:x64-windows - vcpkgDirectory: '${{ github.workspace }}/vcpkg' - vcpkgGitCommitId: '2a42024b53ebb512fb5dd63c523338bf26c8489c' + vcpkgGitCommitId: '77df67cfff9c12ccfdb52284e07c87c75092f723' + - name: Install vcpkg packages (Windows) + if: matrix.os == 'windows-latest' + run: vcpkg install getopt:x64-windows libiconv:x64-windows libpng:x64-windows + - name: Install deps (Ubuntu) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get update && sudo apt-get install -y libpng-dev - name: Install deps (macOS) if: matrix.os == 'macos-latest' run: brew install pkg-config libpng @@ -52,7 +56,7 @@ jobs: - uses: actions/checkout@v6 - name: Install deps (macOS) if: matrix.os == 'macos-latest' - run: brew install automake autoconf pkg-config libpng + run: brew install automake autoconf libtool pkg-config libpng - name: Generate configure run: ./autogen.sh - name: Configure diff --git a/.github/workflows/json4cpp-ci.yml b/.github/workflows/json4cpp-ci.yml index 21b1e7bfca..cb5fa951be 100644 --- a/.github/workflows/json4cpp-ci.yml +++ b/.github/workflows/json4cpp-ci.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Get latest CMake and ninja - uses: lukka/get-cmake@v4 + uses: lukka/get-cmake@v4.3.1 - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -35,7 +35,7 @@ jobs: - name: Install Valgrind run: sudo apt-get update ; sudo apt-get install -y valgrind - name: Get latest CMake and ninja - uses: lukka/get-cmake@v4 + uses: lukka/get-cmake@v4.3.1 - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -53,7 +53,7 @@ jobs: run: apt-get update ; apt-get install -y git clang-tools iwyu unzip - uses: actions/checkout@v6 - name: Get latest CMake and ninja - uses: lukka/get-cmake@v4 + uses: lukka/get-cmake@v4.3.1 - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -69,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Get latest CMake and ninja - uses: lukka/get-cmake@v4 + uses: lukka/get-cmake@v4.3.1 - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -85,7 +85,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Get latest CMake and ninja - uses: lukka/get-cmake@v4 + uses: lukka/get-cmake@v4.3.1 - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -95,6 +95,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + - name: Initialize json4cpp as git repo + run: cd json4cpp && git init && git add . && git commit -m 'init' --allow-empty - name: Install dependencies run: | sudo apt-get update @@ -119,6 +121,8 @@ jobs: os: [macos-13, macos-14, macos-15] steps: - uses: actions/checkout@v6 + - name: Initialize json4cpp as git repo + run: cd json4cpp && git init && git add . && git commit -m 'init' --allow-empty - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On - name: Build @@ -132,6 +136,8 @@ jobs: os: [windows-2022, windows-2025] steps: - uses: actions/checkout@v6 + - name: Initialize json4cpp as git repo + run: cd json4cpp && git init && git add . && git commit -m 'init' --allow-empty - name: Run CMake run: cmake -S json4cpp -B build -DJSON_CI=On -G "Visual Studio 17 2022" - name: Build diff --git a/.github/workflows/libnbtplusplus-ci.yml b/.github/workflows/libnbtplusplus-ci.yml index 3657d211a3..11db27996c 100644 --- a/.github/workflows/libnbtplusplus-ci.yml +++ b/.github/workflows/libnbtplusplus-ci.yml @@ -23,16 +23,17 @@ jobs: - name: Install zlib (Linux) if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y zlib1g-dev + run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cxxtest - name: Install zlib (macOS) if: runner.os == 'macOS' - run: brew install zlib + run: brew install zlib cxxtest - uses: ilammy/msvc-dev-cmd@v1 if: runner.os == 'Windows' - name: Configure + if: runner.os != 'Windows' run: | cmake -S libnbtplusplus -B build \ -DCMAKE_BUILD_TYPE=Release \ @@ -40,6 +41,15 @@ jobs: -DNBT_USE_ZLIB=ON \ -DNBT_BUILD_TESTS=ON + - name: Configure (Windows) + if: runner.os == 'Windows' + run: | + cmake -S libnbtplusplus -B build \ + -DCMAKE_BUILD_TYPE=Release \ + -DNBT_BUILD_SHARED=${{ matrix.shared }} \ + -DNBT_USE_ZLIB=OFF \ + -DNBT_BUILD_TESTS=OFF + - name: Build run: cmake --build build --config Release -j2 diff --git a/.github/workflows/neozip-osb.yml b/.github/workflows/neozip-osb.yml index 94184241d6..78a1ac8ea3 100644 --- a/.github/workflows/neozip-osb.yml +++ b/.github/workflows/neozip-osb.yml @@ -18,7 +18,7 @@ jobs: compiler: gcc cxx-compiler: g++ build-dir: ../build - build-src-dir: ../neozip + build-src-dir: neozip cmake-args: -DWITH_BENCHMARKS=ON - name: Ubuntu GCC OSB add_subdirectory @@ -26,7 +26,7 @@ jobs: compiler: gcc cxx-compiler: g++ build-dir: ../build - build-src-dir: ../neozip/test/add-subdirectory-project + build-src-dir: neozip/test/add-subdirectory-project cmake-args: -DWITH_BENCHMARKS=ON steps: diff --git a/.github/workflows/tomlplusplus-ci.yml b/.github/workflows/tomlplusplus-ci.yml index 829c985e4d..7bffcc6f5f 100644 --- a/.github/workflows/tomlplusplus-ci.yml +++ b/.github/workflows/tomlplusplus-ci.yml @@ -34,13 +34,14 @@ jobs: working-directory: tomlplusplus steps: + - uses: actions/checkout@v6 + - name: Install base dependencies + working-directory: . run: | sudo apt -y update sudo apt -y install --no-install-recommends git ninja-build libstdc++-${{ env.gcc_version }}-dev locales-all - - uses: actions/checkout@v6 - - name: Install python dependencies run: | pip3 install --user --no-cache-dir --upgrade meson @@ -108,13 +109,14 @@ jobs: working-directory: tomlplusplus steps: + - uses: actions/checkout@v6 + - name: Install dependencies + working-directory: . run: | python3 -m pip install -U pip pip3 install meson ninja - - uses: actions/checkout@v6 - - uses: ilammy/msvc-dev-cmd@v1 with: arch: ${{ matrix.arch.name }} |
