diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89d598b5b4..2975fe5c56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,52 +133,3 @@ jobs: run: | cd $GITHUB_WORKSPACE/build echo "Tests are so broken for macOS :(" - build-windows: - name: Build on Windows - runs-on: windows-latest - env: - VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Checkout vcpkg - uses: actions/checkout@v3 - with: - path: ${{ github.workspace }}/vcpkg - repository: microsoft/vcpkg - fetch-depth: 1 - - - name: Bootstrap vcpkg - shell: pwsh - run: "${{ github.workspace }}\\vcpkg\\scripts\\bootstrap.ps1 -disableMetrics" - - - 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 || ''); - - - name: Install Deps - run: "${{ github.workspace }}\\vcpkg\\vcpkg.exe install curl libxml2 libxslt bzip2 pcre2 pthreads zlib getopt-win32 xmlsec --triplet x64-windows" - - - name: Configure - working-directory: ./build - run: cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON3=FALSE -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake .. - - - name: Build - run: cmake --build . --config Release - working-directory: ./build - - - name: Package - run: cpack - working-directory: build - - - name: Upload Artifacts - uses: actions/upload-artifact@v4 - with: - name: openscap-win64 - path: |- - build\OpenSCAP*.msi - build\OpenSCAP*.msi.sha512