From 5806217b9fb4af9fa13a6e63df1e8bf9eae5f20c Mon Sep 17 00:00:00 2001 From: PARK DongHa Date: Mon, 10 Feb 2025 00:02:50 +0900 Subject: [PATCH] CI: Move Azure Pipelines, CircleCI jobs to GitHub Actions (#317) * ci: create wasm32-emscripten check * ci: merge workflows into build.yml * ci: create weekly-maintenance.yml * ci: move Vulkan test to build.yml * ci: move Android test to build.yml --- .github/workflows/build-macos.yml | 88 -------- .github/workflows/build-ubuntu.yml | 80 -------- .github/workflows/build-windows-hosted.yml | 60 ------ .github/workflows/build-windows.yml | 69 ------- .github/workflows/build.yml | 224 +++++++++++++++++++++ .github/workflows/weekly-maintenance.yml | 23 +++ README.md | 5 +- test/azure-port-arm64-uwp.txt | 2 - test/azure-port-ios.txt | 5 - test/azure-port-linux.txt | 3 - test/test-emsdk.json | 15 ++ test/vcpkg-configuration.json | 1 + test/vcpkg.json | 7 +- 13 files changed, 269 insertions(+), 313 deletions(-) delete mode 100644 .github/workflows/build-macos.yml delete mode 100644 .github/workflows/build-ubuntu.yml delete mode 100644 .github/workflows/build-windows.yml create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/weekly-maintenance.yml delete mode 100644 test/azure-port-arm64-uwp.txt delete mode 100644 test/azure-port-ios.txt delete mode 100644 test/azure-port-linux.txt create mode 100644 test/test-emsdk.json diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml deleted file mode 100644 index e9398169..00000000 --- a/.github/workflows/build-macos.yml +++ /dev/null @@ -1,88 +0,0 @@ -name: "macOS" - -on: - push: - branches-ignore: - - docs - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} - cancel-in-progress: true - -env: - VCPKG_ENABLE_METRICS: 0 - -jobs: - overlay: - runs-on: "macos-13" - strategy: - matrix: - include: - - vcpkg_tag: "2025.01.13" - vcpkg_commit: "6f29f12e82a8293156836ad81cc9bf5af41fe836" - fail-fast: false - env: - VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" - VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" - VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}/triplets - steps: - - uses: actions/checkout@v4.2.2 - - - name: "Run homebrew" - run: brew install autoconf automake libtool - - - uses: mobiledevops/xcode-select-version-action@v1.0.0 - with: - xcode-select-version: "15.2" - - - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} - - - uses: actions/cache@v4.2.0 - with: - key: "v2504-${{ runner.os }}-${{ matrix.vcpkg_tag }}" - path: | - ${{ runner.temp }}/vcpkg-caches - - - name: "Create cache folders" - shell: bash - run: | - mkdir -p ${VCPKG_DOWNLOADS} - env: - VCPKG_DOWNLOADS: "${{ runner.temp }}/vcpkg-downloads" - - - uses: lukka/run-vcpkg@v11.5 - with: - vcpkgDirectory: "${{ runner.temp }}/vcpkg" # ignore VCPKG_INSTALLATION_ROOT - vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" - runVcpkgInstall: false - - - name: "Run vcpkg(x64-osx)" - run: | - mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE} - vcpkg install --keep-going \ - --clean-buildtrees-after-build \ - --clean-packages-after-build \ - --x-manifest-root test \ - --x-feature test - env: - VCPKG_DEFAULT_BINARY_CACHE: "${{ runner.temp }}/vcpkg-caches" - VCPKG_DEFAULT_TRIPLET: "x64-osx" - VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" - - - name: "Run vcpkg(arm64-osx)" - run: | - mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE} - vcpkg install --keep-going \ - --clean-buildtrees-after-build \ - --clean-packages-after-build \ - --x-manifest-root test \ - --x-feature test - env: - VCPKG_DEFAULT_BINARY_CACHE: "${{ runner.temp }}/vcpkg-caches" - VCPKG_DEFAULT_TRIPLET: "arm64-osx" - VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml deleted file mode 100644 index 4ec5bde5..00000000 --- a/.github/workflows/build-ubuntu.yml +++ /dev/null @@ -1,80 +0,0 @@ -name: "Ubuntu" - -on: - push: - branches-ignore: - - docs - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} - cancel-in-progress: true - -env: - VCPKG_ENABLE_METRICS: 0 - -jobs: - overlay: - runs-on: "ubuntu-latest" # check https://github.com/actions/runner-images/blob/main/images/ubuntu - strategy: - matrix: - include: - - vcpkg_tag: "2025.01.13" - vcpkg_commit: "6f29f12e82a8293156836ad81cc9bf5af41fe836" - fail-fast: false - env: - VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" - VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" - VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" - steps: - - uses: actions/checkout@v4.2.2 - - - name: "Run apt" - run: | - # sudo apt update -y - sudo apt install -y nasm libnuma-dev libopenmpi-dev libx11-dev libxi-dev libxext-dev libx11-xcb-dev - - - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} - - - uses: actions/cache@v4.2.0 - with: - key: "v2504-${{ runner.os }}-${{ matrix.vcpkg_tag }}" - path: | - ${{ runner.temp }}/vcpkg-caches - - - uses: lukka/run-vcpkg@v11.5 - with: - vcpkgDirectory: "${{ runner.temp }}/vcpkg" # ignore VCPKG_INSTALLATION_ROOT - vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" - runVcpkgInstall: false - - - name: "Run vcpkg(x64-linux)" - run: | - mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE} - vcpkg install --keep-going \ - --clean-buildtrees-after-build \ - --clean-packages-after-build \ - --x-manifest-root test \ - --x-feature test - env: - VCPKG_DEFAULT_BINARY_CACHE: "${{ runner.temp }}/vcpkg-caches" - VCPKG_DEFAULT_TRIPLET: "x64-linux" - VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" - - - name: "Run vcpkg(arm64-linux)" # skip for now - if: ${{ false }} - run: | - mkdir -p ${VCPKG_DEFAULT_BINARY_CACHE} - vcpkg install --keep-going \ - --clean-buildtrees-after-build \ - --clean-packages-after-build \ - --x-manifest-root test \ - --x-feature test - env: - VCPKG_DEFAULT_BINARY_CACHE: "${{ runner.temp }}/vcpkg-caches" - VCPKG_DEFAULT_TRIPLET: "arm64-linux" - VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" diff --git a/.github/workflows/build-windows-hosted.yml b/.github/workflows/build-windows-hosted.yml index 38e3b49c..016b92c9 100644 --- a/.github/workflows/build-windows-hosted.yml +++ b/.github/workflows/build-windows-hosted.yml @@ -135,63 +135,3 @@ jobs: with: additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages" if: always() - - overlay_vulkan: - runs-on: ["self-hosted", "Windows"] - # needs: ["overlay"] - continue-on-error: true - timeout-minutes: 300 - strategy: - matrix: - include: - - vcpkg_tag: "2025.01.13" - vcpkg_commit: "6f29f12e82a8293156836ad81cc9bf5af41fe836" - fail-fast: false - env: - VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" - VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" - steps: - - uses: actions/checkout@v4.2.2 - - uses: microsoft/setup-msbuild@v2 - with: - msbuild-architecture: x64 - - - uses: humbletim/install-vulkan-sdk@v1.1.1 # install Vulkan sdk if env.VULKAN_SDK is empty - if: env.VULKAN_SDK == '' - with: - version: "1.3.239.0" - cache: true - continue-on-error: true - - - name: "Enable LongPath" - run: | - New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force - git config --system core.longpaths true - shell: pwsh - continue-on-error: true - - - name: "Change vcpkg.json" - run: | - New-Item -Type Directory -Force C:/vcpkg-caches - Move-Item -Path "test/self-hosted.json" -Destination "test/vcpkg.json" -Force - shell: pwsh - - - uses: lukka/run-vcpkg@v11.5 - name: "Run vcpkg(x64-windows, ${{ matrix.vcpkg_tag }})" - with: - vcpkgDirectory: "C:/vcpkg" - vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" - vcpkgJsonGlob: "test/vcpkg.json" - vcpkgConfigurationJsonGlob: "test/vcpkg-configuration.json" - runVcpkgInstall: true - runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `vulkan`]' - env: - VCPKG_DEFAULT_TRIPLET: "x64-windows" - VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }};files,C:/vcpkg-caches,readwrite" - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - - - uses: yumis-coconudge/clean-workspace-action@v1.0.6 - with: - additional-path: "C:/vcpkg/buildtrees,C:/vcpkg/packages" - if: always() diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml deleted file mode 100644 index bc8b7d57..00000000 --- a/.github/workflows/build-windows.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: "Windows" - -on: - push: - branches-ignore: - - docs - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref_name }} - cancel-in-progress: true - -env: - VCPKG_ENABLE_METRICS: 0 - -jobs: - overlay: - runs-on: "windows-latest" - strategy: - matrix: - include: - - vcpkg_tag: "2025.01.13" - vcpkg_commit: "6f29f12e82a8293156836ad81cc9bf5af41fe836" - fail-fast: false - env: - VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" - VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" - VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" - steps: - - uses: actions/checkout@v4.2.2 - - uses: microsoft/setup-msbuild@v2 - with: - msbuild-architecture: x64 - - - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} - - - name: "Enalbe LongPath" - run: git config --system core.longpaths true - - - uses: actions/cache@v4.2.0 - with: - key: "v2504-${{ runner.os }}-${{ matrix.vcpkg_tag }}" - path: | - ${{ runner.temp }}/vcpkg-downloads - - - name: "create cache folders" - shell: pwsh - run: | - New-Item -Type Directory -Force ${env:VCPKG_DOWNLOADS} - env: - VCPKG_DOWNLOADS: "${{ runner.temp }}/vcpkg-downloads" - - - uses: lukka/run-vcpkg@v11.5 - name: "Run vcpkg(x64-windows)" - with: - vcpkgDirectory: "C:/vcpkg" - vcpkgGitCommitId: "${{ matrix.vcpkg_commit }}" - vcpkgJsonGlob: "test/vcpkg.json" - vcpkgConfigurationJsonGlob: "test/vcpkg-configuration.json" - runVcpkgInstall: true - runVcpkgFormatString: '[`install`, `--keep-going`, `--clean-buildtrees-after-build`, `--clean-packages-after-build`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `test`]' - env: - VCPKG_DEFAULT_TRIPLET: "x64-windows" - VCPKG_BINARY_SOURCES: ${{ secrets.VCPKG_BINARY_SOURCES }} - VCPKG_DOWNLOADS: "${{ runner.temp }}/vcpkg-downloads" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..07ccee1d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,224 @@ +name: "Check" + +on: + push: + branches-ignore: + - docs + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + +env: + VCPKG_ENABLE_METRICS: 0 + VCPKG_FEATURE_FLAGS: "registries,binarycaching,manifests,versions" + +jobs: + # https://learn.microsoft.com/en-us/vcpkg/commands/install + # https://learn.microsoft.com/en-us/vcpkg/concepts/classic-mode + overlay: + name: "Overlay" + runs-on: ${{ matrix.runner_image }} # https://github.com/actions/runner-images + strategy: + matrix: + include: + - runner_image: "ubuntu-latest" + triplet: "x64-linux" + - runner_image: "macos-13" + triplet: "x64-osx" + - runner_image: "macos-13" + triplet: "x64-ios-simulator" + - runner_image: "macos-13" + triplet: "arm64-osx" + - runner_image: "macos-13" + triplet: "arm64-ios" + - runner_image: "windows-latest" + triplet: "x64-windows" + - runner_image: "windows-latest" + triplet: "arm64-windows" + fail-fast: false + steps: + - uses: actions/checkout@v4.2.2 + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_REGION }} + - uses: lukka/run-vcpkg@v11.5 + with: + vcpkgDirectory: "${{ runner.temp }}/vcpkg" + vcpkgGitCommitId: "6f29f12e82a8293156836ad81cc9bf5af41fe836" # 2025.01.13 + runVcpkgInstall: false + + - name: "Run apt" + if: runner.os == 'Linux' + run: | + # sudo apt update -y + sudo apt install -y nasm libnuma-dev libopenmpi-dev libx11-dev libxi-dev libxext-dev libx11-xcb-dev + + - name: "Run homebrew" + if: runner.os == 'macOS' + run: brew install autoconf automake libtool + + - uses: mobiledevops/xcode-select-version-action@v1.0.0 + if: matrix.runner_image == 'macos-13' + with: + xcode-select-version: "15.2" + + - uses: microsoft/setup-msbuild@v2 + if: runner.os == 'Windows' + with: + msbuild-architecture: x64 + + - name: "Enable LongPath" + if: runner.os == 'Windows' + continue-on-error: true + run: | + git config --system core.longpaths true + New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force + shell: pwsh + + - name: "Run vcpkg(${{matrix.triplet}})" + if: runner.os == 'Linux' || runner.os == 'macOS' + run: | + vcpkg install --keep-going \ + --clean-buildtrees-after-build \ + --clean-packages-after-build \ + --x-manifest-root test \ + --x-feature test + shell: bash + env: + VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + VCPKG_DEFAULT_TRIPLET: "${{matrix.triplet}}" + + - name: "Run vcpkg(${{matrix.triplet}})" + if: runner.os == 'Windows' + run: | + vcpkg install --keep-going ` + --clean-buildtrees-after-build ` + --clean-packages-after-build ` + --x-manifest-root test ` + --x-feature test + shell: pwsh + env: + VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + VCPKG_DEFAULT_TRIPLET: "${{matrix.triplet}}" + + android: + name: "Android" + runs-on: "ubuntu-latest" # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#environment-variables-2 + # container: # https://circleci.com/developer/images/image/cimg/android + # image: cimg/android:2025.01.1-ndk # 28.0.12674087 + steps: + - uses: actions/checkout@v4.2.2 + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_REGION }} + - uses: lukka/run-vcpkg@v11.5 + with: + vcpkgDirectory: "${{ runner.temp }}/vcpkg" + vcpkgGitCommitId: "6f29f12e82a8293156836ad81cc9bf5af41fe836" # 2025.01.13 + runVcpkgInstall: false + + - name: "Run vcpkg(arm64-android)" + run: | + vcpkg install --keep-going \ + --clean-buildtrees-after-build \ + --clean-packages-after-build \ + --x-manifest-root test \ + --x-feature test + shell: bash + env: + VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + VCPKG_DEFAULT_TRIPLET: "arm64-android" + + - name: "Run vcpkg(x64-android)" + run: | + vcpkg install --keep-going \ + --clean-buildtrees-after-build \ + --clean-packages-after-build \ + --x-manifest-root test \ + --x-feature test + shell: bash + env: + VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + VCPKG_DEFAULT_TRIPLET: "x64-android" + + vulkan: + name: Vulkan + runs-on: "windows-latest" + steps: + - uses: actions/checkout@v4.2.2 + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_REGION }} + + - uses: humbletim/install-vulkan-sdk@v1.1.1 + with: + version: "1.3.296.0" + cache: true + + - uses: microsoft/setup-msbuild@v2 + with: + msbuild-architecture: x64 + + - uses: lukka/run-vcpkg@v11.5 + with: + vcpkgDirectory: "C:/vcpkg" + vcpkgGitCommitId: "6f29f12e82a8293156836ad81cc9bf5af41fe836" # 2025.01.13 + vcpkgJsonGlob: "test/self-hosted.json" + vcpkgConfigurationJsonGlob: "test/vcpkg-configuration.json" + runVcpkgInstall: true + runVcpkgFormatString: '[`install`, `--keep-going`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `vulkan`]' + env: + VCPKG_DEFAULT_TRIPLET: "x64-windows" + VCPKG_BINARY_SOURCES: "${{ secrets.VCPKG_BINARY_SOURCES }}" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" + + emscripten: + name: "Emscripten" + runs-on: "ubuntu-latest" + container: + image: "emscripten/emsdk:3.1.74" # https://hub.docker.com/r/emscripten/emsdk + env: + EMSDK_NODE: /emsdk/node/20.18.0_64bit/bin/node + EMCC_CFLAGS: "-mbulk-memory -matomics -pthread" + steps: + - uses: actions/checkout@v4 + + - name: "Run apt" + run: | + sudo apt update -y + sudo apt install -y pkg-config python3-pip + + - name: "Run git config" + run: | + git config --global --add safe.directory /__w/vcpkg-registry/vcpkg-registry + + - name: "Change vcpkg.json" + run: mv test/test-emsdk.json test/vcpkg.json + + - uses: lukka/run-vcpkg@v11.5 + with: + vcpkgDirectory: "${{ runner.temp }}/vcpkg" + vcpkgJsonGlob: "test/vcpkg.json" + vcpkgConfigurationJsonGlob: "test/vcpkg-configuration.json" + runVcpkgInstall: true + env: + VCPKG_DEFAULT_TRIPLET: "wasm32-emscripten" + VCPKG_OVERLAY_PORTS: "${{ github.workspace }}/ports" + VCPKG_OVERLAY_TRIPLETS: "${{ github.workspace }}/triplets" diff --git a/.github/workflows/weekly-maintenance.yml b/.github/workflows/weekly-maintenance.yml new file mode 100644 index 00000000..c47547d3 --- /dev/null +++ b/.github/workflows/weekly-maintenance.yml @@ -0,0 +1,23 @@ +name: Weekly Maintenance + +on: + schedule: + - cron: "0 4 * * 0" # every sunday 04:00 UTC + workflow_dispatch: + +jobs: + close-stale: + name: "Close Stale Items" + runs-on: "ubuntu-latest" + permissions: + contents: write + issues: write + pull-requests: write + steps: + - uses: actions/stale@v9 + with: + days-before-issue-stale: 30 + days-before-issue-close: 30 + stale-issue-label: "stale" + days-before-pr-stale: 30 + days-before-pr-close: 30 diff --git a/README.md b/README.md index 84a121c6..32e62592 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,11 @@ [![Build Status](https://dev.azure.com/luncliff/personal/_apis/build/status/luncliff.vcpkg-registry?branchName=main)](https://dev.azure.com/luncliff/personal/_build/latest?definitionId=52&branchName=main) [![CircleCI](https://dl.circleci.com/status-badge/img/gh/luncliff/vcpkg-registry/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/luncliff/vcpkg-registry/tree/main) -[![Windows](https://github.com/luncliff/vcpkg-registry/actions/workflows/build-windows.yml/badge.svg?branch=main)](https://github.com/luncliff/vcpkg-registry/actions/workflows/build-windows.yml) -[![macOS](https://github.com/luncliff/vcpkg-registry/actions/workflows/build-macos.yml/badge.svg?branch=main)](https://github.com/luncliff/vcpkg-registry/actions/workflows/build-macos.yml) +[![Check](https://github.com/luncliff/vcpkg-registry/actions/workflows/build.yml/badge.svg)](https://github.com/luncliff/vcpkg-registry/actions/workflows/build.yml) Targets... -* [vcpkg](https://github.com/microsoft/vcpkg): recommend [2024.05.24](https://github.com/microsoft/vcpkg/releases/tag/2024.05.24) or later +* [vcpkg](https://github.com/microsoft/vcpkg): recommend [2024.06.15](https://github.com/microsoft/vcpkg/releases/tag/2024.06.15) or later * [vcpkg-tool](https://github.com/microsoft/vcpkg-tool) follows the vcpkg ### References diff --git a/test/azure-port-arm64-uwp.txt b/test/azure-port-arm64-uwp.txt deleted file mode 100644 index e056c6bc..00000000 --- a/test/azure-port-arm64-uwp.txt +++ /dev/null @@ -1,2 +0,0 @@ -abseil -onnx[disable-static-registration] diff --git a/test/azure-port-ios.txt b/test/azure-port-ios.txt deleted file mode 100644 index c4ff1c8b..00000000 --- a/test/azure-port-ios.txt +++ /dev/null @@ -1,5 +0,0 @@ -tensorflow-lite -miniaudio -coreml-tools -abseil -onnxruntime diff --git a/test/azure-port-linux.txt b/test/azure-port-linux.txt deleted file mode 100644 index 6105b920..00000000 --- a/test/azure-port-linux.txt +++ /dev/null @@ -1,3 +0,0 @@ -tensorflow-lite[gpu] -onnx[disable-static-registration] -abseil diff --git a/test/test-emsdk.json b/test/test-emsdk.json new file mode 100644 index 00000000..3241f96f --- /dev/null +++ b/test/test-emsdk.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "name": "test", + "version-date": "2025-02-08", + "description": "vcpkg registry maintained by @luncliff", + "homepage": "https://github.com/luncliff/vcpkg-registry", + "supports": "emscripten", + "dependencies": [ + "abseil", + { + "name": "curl", + "default-features": false + } + ] +} diff --git a/test/vcpkg-configuration.json b/test/vcpkg-configuration.json index 3dae2ec7..70d5a29b 100644 --- a/test/vcpkg-configuration.json +++ b/test/vcpkg-configuration.json @@ -3,6 +3,7 @@ "default-registry": { "kind": "git", "repository": "https://github.com/Microsoft/vcpkg", + "reference": "2025.01.13", "baseline": "6f29f12e82a8293156836ad81cc9bf5af41fe836" }, "registries": [] diff --git a/test/vcpkg.json b/test/vcpkg.json index bb4af412..92f0ac2d 100644 --- a/test/vcpkg.json +++ b/test/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "test", - "version-date": "2024-11-12", + "version-date": "2025-02-09", "description": "vcpkg registry maintained by @luncliff", "homepage": "https://github.com/luncliff/vcpkg-registry", "supports": "windows | linux | osx | ios", @@ -22,7 +22,6 @@ "name": "d3d12-transition-layer", "platform": "windows" }, - "etcpak", { "name": "fbgemm", "platform": "x64" @@ -32,11 +31,13 @@ "name": "libdispatch", "platform": "windows | android" }, + "llama-cpp", { "name": "llama-cpp", "features": [ "server" - ] + ], + "platform": "windows | linux | osx" }, { "name": "metal-cpp",