From b8d375bcb1f462d5af5d1f480b32d7b0038417f6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 12 Sep 2024 06:59:58 +0200 Subject: Adding upstream version 1.7.5. Signed-off-by: Daniel Baumann --- .github/workflows/windows-vcpkg.yml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/windows-vcpkg.yml (limited to '.github/workflows/windows-vcpkg.yml') diff --git a/.github/workflows/windows-vcpkg.yml b/.github/workflows/windows-vcpkg.yml new file mode 100644 index 0000000..80062e2 --- /dev/null +++ b/.github/workflows/windows-vcpkg.yml @@ -0,0 +1,44 @@ +name: Vcpkg (Windows) + +on: + push: + branches: [ "1.7.x*" ] + +jobs: + build: + strategy: + matrix: + os: [windows-latest] + triplet: + - x64-windows + - x64-windows-static + - x64-windows-static-md + - x86-windows + - x86-windows-static + port: + - apr + - apr[core] + - apr[private-headers] + fail-fast: false + + name: "${{ matrix.port }}:${{ matrix.triplet }} on ${{ matrix.os }}" + # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. + # You can convert this to a matrix build if you need cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + runs-on: ${{ matrix.os }} + + env: + VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" + + steps: + - name: Export GitHub Actions cache environment variables + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + + - uses: actions/checkout@v4 + + - name: Vcpkg Install + run: C:\vcpkg\vcpkg.exe install ${{ matrix.port }} --head --overlay-ports ${{ github.workspace }}\build\vcpkg --triplet ${{ matrix.triplet }} --enforce-port-checks -- cgit v1.2.3