Build package for p4-fusion 1.13.2 (#58680)

This commit is contained in:
Erik Seliger 2023-12-04 13:21:05 +01:00 committed by GitHub
parent 119b2149ea
commit 28739272a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
package:
name: p4-fusion-sg
version: 1.13.1
version: 1.13.2
epoch: 0
description: "A fast Perforce to Git conversion tool, Sourcegraph fork"
target-architecture:
@ -35,41 +35,41 @@ pipeline:
# Download p4-fusion
- uses: fetch
with:
uri: https://github.com/sourcegraph/p4-fusion/archive/1927d60872e88244d9421865a1ebcfa89d4d893f.tar.gz
expected-sha256: 16cc228293590c294c08d8bd53d228393ca72f4d998b6f38d78dc108969f5003
uri: https://github.com/sourcegraph/p4-fusion/archive/60a9f5a9d48ba0218ff3114b94fed98cf9813de5.tar.gz
expected-sha256: a6c2ced6ad4d73ee50fc77c74962d6e0488da04c48882a47012c817477c709ba
extract: false
- runs: |
mkdir p4-fusion-src
tar -C p4-fusion-src -xzf 1927d60872e88244d9421865a1ebcfa89d4d893f.tar.gz --strip 1
tar -C p4-fusion-src -xzf 60a9f5a9d48ba0218ff3114b94fed98cf9813de5.tar.gz --strip 1
# Download OpenSSL
- uses: fetch
with:
uri: https://www.openssl.org/source/openssl-1.0.2t.tar.gz
expected-sha256: 14cb464efe7ac6b54799b34456bd69558a749a4931ecfd9cf9f71d7881cac7bc
uri: https://www.openssl.org/source/openssl-1.1.1w.tar.gz
expected-sha256: cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
extract: false
- runs: |
mkdir openssl-src
tar -C openssl-src -xzf openssl-1.0.2t.tar.gz --strip 1
tar -C openssl-src -xzf openssl-1.1.1w.tar.gz --strip 1
# Download Helix Core C++ API
- uses: fetch
with:
uri: https://www.perforce.com/downloads/perforce/r22.1/bin.linux26x86_64/p4api-glibc2.3-openssl1.0.2.tgz
uri: https://cdist2.perforce.com/perforce/r23.1/bin.linux26x86_64/p4api-glibc2.3-openssl1.1.1.tgz
# Hash occasionally changes, available at https://filehost.perforce.com/perforce/r22.1/bin.linux26x86_64/SHA256SUMS (check version)
expected-sha256: 7a7ca5b1b6c2401282a30c93065cd88f1bb47412246231c640ad3a6b7002c93b
expected-sha256: 640898f7d001ab7d071db17fb41442dce319203e636550d562eaab6212f6a595
extract: false
- runs: |
mkdir -p p4-fusion-src/vendor/helix-core-api/linux
tar -C p4-fusion-src/vendor/helix-core-api/linux -xzf p4api-glibc2.3-openssl1.0.2.tgz --strip 1
tar -C p4-fusion-src/vendor/helix-core-api/linux -xzf p4api-glibc2.3-openssl1.1.1.tgz --strip 1
# Build OpenSSL
- runs: |
cd openssl-src
./config
./config -no-shared
- runs: |
cd openssl-src
make build_libs
make --jobs="$(($(nproc) + 1))"
- runs: |
cd openssl-src
make install