Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jan 6, 2024
1 parent 323d05e commit c7af541
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ workflow(
),
sourceFile = __FILE__.toPath(),
) {
val version = "3.2.0"//expr("inputs.version")
val version = "3.0.12"//expr("inputs.version")
val jobs = configurations.map { configuration ->
job(
id = configuration.name,
Expand All @@ -126,9 +126,9 @@ workflow(
}

listOf(
"build/openssl3/*/dynamicLib/*",
"build/openssl3/*/staticLib/*",
"build/openssl3/*/include/*",
"build/openssl3/*/dynamicLib",
"build/openssl3/*/staticLib",
"build/openssl3/*/include",
).forEach { path ->
run(command = "tar -rvf ${configuration.name}.tar $path")
}
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
push: {}
jobs:
macos:
name: 'macos-3.2.0'
name: 'macos-3.0.12'
runs-on: 'macos-latest'
steps:
- id: 'step-0'
Expand All @@ -23,27 +23,27 @@ jobs:
- 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/macos-x64 -o "*:shared=True"'
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.2.0 -pr:b default -pr:h profiles/macos-x64 -o "*:shared=True"'
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'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.2.0 -pr:b default -pr:h profiles/macos-x64 -o "*:shared=False"'
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=False"'
- id: 'step-7'
run: 'conan install packages/openssl3 --output-folder build/openssl3/macos-x64 --version=3.2.0 -pr:b default -pr:h profiles/macos-x64 -o "*:shared=False"'
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=False"'
- id: 'step-8'
run: 'tar -rvf macos.tar build/openssl3/*/dynamicLib/*'
run: 'tar -rvf macos.tar build/openssl3/*/dynamicLib'
- id: 'step-9'
run: 'tar -rvf macos.tar build/openssl3/*/staticLib/*'
run: 'tar -rvf macos.tar build/openssl3/*/staticLib'
- id: 'step-10'
run: 'tar -rvf macos.tar build/openssl3/*/include/*'
run: 'tar -rvf macos.tar build/openssl3/*/include'
- id: 'step-11'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-macos-3.2.0'
name: 'openssl-macos-3.0.12'
path: 'macos.tar'
if-no-files-found: 'error'
linux:
name: 'linux-3.2.0'
name: 'linux-3.0.12'
runs-on: 'ubuntu-20.04'
steps:
- id: 'step-0'
Expand All @@ -63,27 +63,27 @@ jobs:
- 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.2.0 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=True"'
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.2.0 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=True"'
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'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.2.0 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=False"'
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=False"'
- id: 'step-9'
run: 'conan install packages/openssl3 --output-folder build/openssl3/linux-x64 --version=3.2.0 -pr:b default -pr:h profiles/linux-x64 -o "*:shared=False"'
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=False"'
- id: 'step-10'
run: 'tar -rvf linux.tar build/openssl3/*/dynamicLib/*'
run: 'tar -rvf linux.tar build/openssl3/*/dynamicLib'
- id: 'step-11'
run: 'tar -rvf linux.tar build/openssl3/*/staticLib/*'
run: 'tar -rvf linux.tar build/openssl3/*/staticLib'
- id: 'step-12'
run: 'tar -rvf linux.tar build/openssl3/*/include/*'
run: 'tar -rvf linux.tar build/openssl3/*/include'
- id: 'step-13'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-linux-3.2.0'
name: 'openssl-linux-3.0.12'
path: 'linux.tar'
if-no-files-found: 'error'
windows:
name: 'windows-3.2.0'
name: 'windows-3.0.12'
runs-on: 'windows-latest'
steps:
- id: 'step-0'
Expand All @@ -99,23 +99,23 @@ jobs:
- 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/mingw-x64 -o "*:shared=True"'
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.2.0 -pr:b default -pr:h profiles/mingw-x64 -o "*:shared=True"'
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'
run: 'conan create conan-center-index/recipes/openssl/3.x.x --build=missing --version=3.2.0 -pr:b default -pr:h profiles/mingw-x64 -o "*:shared=False"'
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=False"'
- id: 'step-7'
run: 'conan install packages/openssl3 --output-folder build/openssl3/mingw-x64 --version=3.2.0 -pr:b default -pr:h profiles/mingw-x64 -o "*:shared=False"'
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=False"'
- id: 'step-8'
run: 'tar -rvf windows.tar build/openssl3/*/dynamicLib/*'
run: 'tar -rvf windows.tar build/openssl3/*/dynamicLib'
- id: 'step-9'
run: 'tar -rvf windows.tar build/openssl3/*/staticLib/*'
run: 'tar -rvf windows.tar build/openssl3/*/staticLib'
- id: 'step-10'
run: 'tar -rvf windows.tar build/openssl3/*/include/*'
run: 'tar -rvf windows.tar build/openssl3/*/include'
- id: 'step-11'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-windows-3.2.0'
name: 'openssl-windows-3.0.12'
path: 'windows.tar'
if-no-files-found: 'error'
aggregate:
Expand All @@ -128,7 +128,7 @@ jobs:
- id: 'step-0'
uses: 'actions/download-artifact@v4'
with:
pattern: 'openssl-*-3.2.0'
pattern: 'openssl-*-3.0.12'
merge-multiple: 'true'
- id: 'step-1'
run: 'tar -xvf macos.tar'
Expand All @@ -141,6 +141,6 @@ jobs:
- id: 'step-5'
uses: 'actions/upload-artifact@v4'
with:
name: 'openssl-3.2.0'
name: 'openssl-3.0.12'
path: 'openssl.tar'
if-no-files-found: 'error'

0 comments on commit c7af541

Please sign in to comment.