Skip to content

WIP

WIP #19

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: {}
jobs:
macos:
name: 'macos-3.0.12'
runs-on: 'macos-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.0.12 -pr:b default -pr:h profiles/macos-x64 -o "*:shared=True"'
- id: 'step-5'
run: 'conan install packages/openssl3 --output-folder build/openssl3/macos-x64 --version=3.0.12 -pr:b default -pr:h profiles/macos-x64 -o "*:shared=True"'
- id: 'step-6'
shell: 'bash'
run: 'tar -rvf macos.tar build/openssl3/*/dynamicLib'
- id: 'step-7'
shell: 'bash'
run: 'tar -rvf macos.tar build/openssl3/*/staticLib'
- id: 'step-8'
shell: 'bash'
run: 'tar -rvf macos.tar build/openssl3/*/include'
- id: 'step-9'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-macos-3.0.12'
path: 'macos.tar'
if-no-files-found: 'error'
linux:
name: 'linux-3.0.12'
runs-on: 'ubuntu-20.04'
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: 'sudo apt update'
- id: 'step-5'
run: 'sudo apt install g++-8-aarch64-linux-gnu g++-8'
- id: 'step-6'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.0.12 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=True"'
- id: 'step-7'
run: 'conan install packages/openssl3 --output-folder build/openssl3/linux-x64 --version=3.0.12 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=True"'
- id: 'step-8'
shell: 'bash'
run: 'tar -rvf linux.tar build/openssl3/*/dynamicLib'
- id: 'step-9'
shell: 'bash'
run: 'tar -rvf linux.tar build/openssl3/*/staticLib'
- id: 'step-10'
shell: 'bash'
run: 'tar -rvf linux.tar build/openssl3/*/include'
- id: 'step-11'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-linux-3.0.12'
path: 'linux.tar'
if-no-files-found: 'error'
windows:
name: 'windows-3.0.12'
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.0.12 -pr:b default -pr:h profiles/mingw-x64 -o "*:shared=True"'
- id: 'step-5'
run: 'conan install packages/openssl3 --output-folder build/openssl3/mingw-x64 --version=3.0.12 -pr:b default -pr:h profiles/mingw-x64 -o "*:shared=True"'
- id: 'step-6'
shell: 'bash'
run: 'tar -rvf windows.tar build/openssl3/*/dynamicLib'
- id: 'step-7'
shell: 'bash'
run: 'tar -rvf windows.tar build/openssl3/*/staticLib'
- id: 'step-8'
shell: 'bash'
run: 'tar -rvf windows.tar build/openssl3/*/include'
- id: 'step-9'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-windows-3.0.12'
path: 'windows.tar'
if-no-files-found: 'error'
aggregate:
runs-on: 'ubuntu-latest'
needs:
- 'macos'
- 'linux'
- 'windows'
steps:
- id: 'step-0'
uses: 'actions/download-artifact@v4'
with:
pattern: 'openssl-*-3.0.12'
merge-multiple: 'true'
- id: 'step-1'
shell: 'bash'
run: 'tar -xvf macos.tar'
- id: 'step-2'
shell: 'bash'
run: 'tar -xvf linux.tar'
- id: 'step-3'
shell: 'bash'
run: 'tar -xvf windows.tar'
- id: 'step-4'
shell: 'bash'
run: 'tar -cvf openssl.tar build/openssl3'
- id: 'step-5'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-3.0.12'
path: 'openssl.tar'
if-no-files-found: 'error'