Skip to content

test windows

test windows #30

Workflow file for this run

# This file was generated using Kotlin DSL (.github/workflows/build.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Build'
on:
push: {}
defaults:
run:
shell: 'bash'
jobs:
windows:
name: 'windows-3.2.0'
runs-on: 'windows-latest'
steps:
- id: 'step-0'
uses: 'actions/checkout@v4'
with:
submodules: 'true'
- id: 'step-1'
uses: 'actions/setup-python@v5'
with:
python-version: '3.x'
- id: 'step-2'
run: 'pip install conan'
- id: 'step-3'
run: 'conan profile detect'
- id: 'step-4'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.2.0 -pr:b default -pr:h profiles/windows-x64 -o "*:shared=True"'
- id: 'step-5'
run: 'conan install packages/openssl3 --output-folder build/openssl3/windows-x64 --version=3.2.0 -pr:b default -pr:h profiles/windows-x64 -o "*:shared=True"'
- id: 'step-6'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.2.0 -pr:b default -pr:h profiles/windows-x64 -o "*:shared=False"'
- id: 'step-7'
run: 'conan install packages/openssl3 --output-folder build/openssl3/windows-x64 --version=3.2.0 -pr:b default -pr:h profiles/windows-x64 -o "*:shared=False"'
- id: 'step-8'
run: 'tar -rvf windows.tar build/openssl3/*/dynamicLib'
- id: 'step-9'
run: 'tar -rvf windows.tar build/openssl3/*/staticLib'
- id: 'step-10'
run: 'tar -rvf windows.tar build/openssl3/*/include'
- id: 'step-11'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-windows-3.2.0'
path: 'windows.tar'
if-no-files-found: 'error'
aggregate:
runs-on: 'ubuntu-latest'
needs:
- 'windows'
steps:
- id: 'step-0'
uses: 'actions/download-artifact@v4'
with:
pattern: 'openssl-*-3.2.0'
merge-multiple: 'true'
- id: 'step-1'
run: 'tar -xvf windows.tar'
- id: 'step-2'
working-directory: 'build/openssl3'
run: 'tar -czvf ../../openssl-3.2.0.tar.gz *'
- id: 'step-3'
working-directory: 'build/openssl3'
run: 'zip --symlinks -r ../../openssl-3.2.0.zip *'
- id: 'step-4'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-3.2.0'
path: |-
openssl-3.2.0.tar.gz
openssl-3.2.0.zip
if-no-files-found: 'error'