@@ -133,52 +133,3 @@ jobs:
133
133
run : |
134
134
cd $GITHUB_WORKSPACE/build
135
135
echo "Tests are so broken for macOS :("
136
- build-windows :
137
- name : Build on Windows
138
- runs-on : windows-latest
139
- env :
140
- VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
141
- steps :
142
- - name : Checkout
143
- uses : actions/checkout@v3
144
-
145
- - name : Checkout vcpkg
146
- uses : actions/checkout@v3
147
- with :
148
- path : ${{ github.workspace }}/vcpkg
149
- repository : microsoft/vcpkg
150
- fetch-depth : 1
151
-
152
- - name : Bootstrap vcpkg
153
- shell : pwsh
154
- run : " ${{ github.workspace }}\\ vcpkg\\ scripts\\ bootstrap.ps1 -disableMetrics"
155
-
156
- - name : Export GitHub Actions cache environment variables
157
- uses : actions/github-script@v7
158
- with :
159
- script : |
160
- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
161
- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
162
-
163
- - name : Install Deps
164
- run : " ${{ github.workspace }}\\ vcpkg\\ vcpkg.exe install curl libxml2 libxslt bzip2 pcre2 pthreads zlib getopt-win32 xmlsec --triplet x64-windows"
165
-
166
- - name : Configure
167
- working-directory : ./build
168
- run : cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON3=FALSE -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake ..
169
-
170
- - name : Build
171
- run : cmake --build . --config Release
172
- working-directory : ./build
173
-
174
- - name : Package
175
- run : cpack
176
- working-directory : build
177
-
178
- - name : Upload Artifacts
179
- uses : actions/upload-artifact@v4
180
- with :
181
- name : openscap-win64
182
- path : |-
183
- build\OpenSCAP*.msi
184
- build\OpenSCAP*.msi.sha512
0 commit comments