forked from deltixlab/DFP
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from epam/master
Release toString()
- Loading branch information
Showing
449 changed files
with
3,037 additions
and
1,234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,52 +14,74 @@ env: | |
|
||
jobs: | ||
|
||
build-native-linux: | ||
runs-on: ubuntu-20.04 | ||
build-wrappers: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: build | ||
run: | | ||
sudo apt update | ||
sudo apt install -yqq g++-9-arm-linux-gnueabihf \ | ||
g++-9-aarch64-linux-gnu \ | ||
g++-9-i686-linux-gnu \ | ||
musl-tools | ||
cd .. | ||
mkdir llvm | ||
cd llvm | ||
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-armv7a-linux-gnueabihf.tar.xz | ||
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-aarch64-linux-gnu.tar.xz | ||
curl -OL https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-i386-unknown-freebsd12.tar.xz | ||
tar -xf clang+llvm-12.0.0-armv7a-linux-gnueabihf.tar.xz | ||
tar -xf clang+llvm-12.0.0-aarch64-linux-gnu.tar.xz | ||
tar -xf clang+llvm-12.0.0-i386-unknown-freebsd12.tar.xz | ||
ls -al | ||
cd ../DFP/ | ||
ls -al | ||
./gradlew makeNativeLinux | ||
./gradlew makeNativeWrappers | ||
cp LICENSE native/ | ||
cp intel-eula.txt native/ | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-native-linux | ||
name: build-wrappers | ||
path: | | ||
./*native/bin* | ||
./gradle.properties | ||
./*java/dfp/build/generated/sources/nativeWrappers/com/epam/deltix/dfp* | ||
./*java/dfp-math/build/generated/sources/nativeWrappers/com/epam/deltix/dfpmath* | ||
./csharp/EPAM.Deltix.DFP/NativeImpl.cs | ||
./csharp/EPAM.Deltix.DFP/Version.targets | ||
./csharp/EPAM.Deltix.DFPMath/NativeMathImpl.cs | ||
./csharp/EPAM.Deltix.DFPMath/Version.targets | ||
./native/include* | ||
retention-days: 7 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: native-sources | ||
path: | | ||
native/ | ||
retention-days: 7 | ||
|
||
build-native-linux: | ||
runs-on: ubuntu-22.04 | ||
needs: [build-wrappers] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Download build-wrappers artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-wrappers | ||
- name: build | ||
run: | | ||
sudo apt update | ||
sudo apt install -yqq g++-arm-linux-gnueabihf \ | ||
g++-aarch64-linux-gnu \ | ||
g++-i686-linux-gnu \ | ||
musl-tools | ||
./gradlew makeNativeLinux | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-native-linux | ||
path: | | ||
./*native/install* | ||
retention-days: 7 | ||
|
||
build-native-windows: | ||
runs-on: windows-2019 | ||
runs-on: windows-2022 | ||
needs: [build-wrappers] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Download build-wrappers artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-wrappers | ||
- name: Use MSBuild | ||
uses: microsoft/[email protected] | ||
- name: build | ||
|
@@ -69,37 +91,39 @@ jobs: | |
with: | ||
name: build-native-windows | ||
path: | | ||
./*native/bin* | ||
./*native/install* | ||
retention-days: 7 | ||
|
||
build-native-macos: | ||
runs-on: ubuntu-20.04 | ||
runs-on: macos-12 | ||
needs: [build-wrappers] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
- name: Download build-wrappers artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-wrappers | ||
- name: build | ||
run: | | ||
sudo apt update | ||
sudo apt install clang make libssl-dev liblzma-dev libxml2-dev fuse | ||
cd ./osxcross/tarballs/ | ||
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz | ||
cd .. | ||
UNATTENDED=yes OSX_VERSION_MIN=10.7 JOBS=4 ./build.sh | ||
cd .. | ||
./gradlew makeNativeDarwin | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-native-macos | ||
path: | | ||
./*native/bin* | ||
./*native/install* | ||
retention-days: 7 | ||
|
||
compress-native: | ||
runs-on: ubuntu-latest | ||
needs: [build-native-linux, build-native-windows, build-native-macos] | ||
runs-on: ubuntu-22.04 | ||
needs: [build-wrappers, build-native-linux, build-native-windows, build-native-macos] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Download build-wrappers artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: build-wrappers | ||
- name: Download native-linux artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -115,24 +139,25 @@ jobs: | |
- name: compress | ||
run: | | ||
zstd --version | ||
zstd -19 --rm -r ./native/bin | ||
zstd -19 --rm -r ./native/binmath | ||
./gradlew nativeInstallToBin | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: compress-native | ||
path: | | ||
./gradle.properties | ||
./*native/bin* | ||
./*native/binmath* | ||
./*java/dfp/build/generated/sources/nativeWrappers/com/epam/deltix/dfp* | ||
./*java/dfp-math/build/generated/sources/nativeWrappers/com/epam/deltix/dfpmath* | ||
./csharp/EPAM.Deltix.DFP/NativeImpl.cs | ||
./csharp/EPAM.Deltix.DFP/Version.targets | ||
./csharp/EPAM.Deltix.DFPMath/NativeMathImpl.cs | ||
./csharp/EPAM.Deltix.DFPMath/Version.targets | ||
./native/include* | ||
retention-days: 7 | ||
|
||
build-java: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [compress-native] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -165,7 +190,7 @@ jobs: | |
retention-days: 7 | ||
|
||
build-dotnet: | ||
runs-on: windows-2019 | ||
runs-on: windows-2022 | ||
needs: [compress-native] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -198,7 +223,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ 'ubuntu-latest', 'windows-2019', 'macos-latest'] | ||
os: [ 'ubuntu-22.04', 'windows-2022', 'macos-12'] | ||
java: [ '8', '11', '19'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -226,7 +251,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ 'ubuntu-latest', 'windows-2019', 'macos-latest'] | ||
os: [ 'ubuntu-22.04', 'windows-2022', 'macos-12'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -240,12 +265,12 @@ jobs: | |
with: | ||
dotnet-version: '3.1.x' | ||
- name: test windows | ||
if: ${{ matrix.os == 'windows-2019' }} | ||
if: ${{ matrix.os == 'windows-2022' }} | ||
run: | | ||
cd csharp | ||
./build --target=Run-Unit-Tests | ||
- name: test nix | ||
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }} | ||
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-12' }} | ||
run: | | ||
cd csharp | ||
./build.sh --target=Run-Unit-Tests | ||
|
Oops, something went wrong.