-
Notifications
You must be signed in to change notification settings - Fork 95
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 #352 from 3MFConsortium/release/2.3.0
Release/2.3.0
- Loading branch information
Showing
2,323 changed files
with
852,130 additions
and
20,883 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 |
---|---|---|
@@ -1,31 +1,66 @@ | ||
on: [push, pull_request] | ||
name: Build | ||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-18.04 | ||
build-linux-memtest: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: sudo apt install -y valgrind | ||
- run: sudo apt update | ||
- run: sudo apt install -y valgrind uuid-dev | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- run: sh cmake/GenerateMake.sh | ||
- run: cmake --build . --target lib3mf_memcheck | ||
working-directory: ./build | ||
- run: ctest -V | ||
working-directory: ./build | ||
- name: Archive Linux binary | ||
uses: actions/upload-artifact@v2 | ||
|
||
build-linux-ubi8-gcc12: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: sudo apt update | ||
- run: sudo apt install -y uuid-dev | ||
- uses: actions/checkout@v2 | ||
with: | ||
name: lib3mf.so | ||
path: build/lib3mf.so.2 | ||
submodules: true | ||
- run: mkdir -p build | ||
- run: zip -r build/bindings.zip Autogenerated/Bindings | ||
|
||
- name: Archive bindings | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: bindings.zip | ||
path: build/bindings.zip | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- | ||
name: Docker Build | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
file: ./CI/Dockerfile | ||
platforms: linux/amd64 | ||
tags: lib3mf_ubi8:latest | ||
load: true | ||
- | ||
name: Docker Extract | ||
uses: shrink/[email protected] | ||
id: extract | ||
with: | ||
image: lib3mf_ubi8:latest | ||
path: out.zip | ||
destination: dist | ||
|
||
- run: unzip out.zip | ||
working-directory: ./dist | ||
- | ||
name: Upload Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: lib3mf.so | ||
path: dist/lib3mf.so.2 | ||
|
||
build-macos: | ||
runs-on: macos-10.15 | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -40,11 +75,10 @@ jobs: | |
with: | ||
name: lib3mf.dylib | ||
path: build/lib3mf.dylib | ||
|
||
codecoverage-macos: | ||
runs-on: macos-10.15 | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Install Prerequisites | ||
|
@@ -61,7 +95,7 @@ jobs: | |
name: codecoverage.zip | ||
path: build/codecoverage.zip | ||
- name: Upload code coverage to codecov | ||
uses: codecov/codecov-action@v1 | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./build/Test_CPP_Bindings_filtered.info | ||
|
@@ -105,6 +139,27 @@ jobs: | |
with: | ||
name: lib3mf.debug.dll | ||
path: build/Debug/lib3mf.dll | ||
build-windows-32bit: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- run: ./cmake/GenerateVS2019_32bit.bat | ||
- run: cmake --build . --config Release | ||
working-directory: ./build_32bit | ||
- run: ctest -V | ||
working-directory: ./build_32bit | ||
- name: Archive Windows 32 bit Release binary | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: lib3mf_32bit.dll | ||
path: build_32bit/Release/lib3mf.dll | ||
- name: Archive Windows 32 bit Release lib | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: lib3mf_32bit.lib | ||
path: build_32bit/Release/lib3mf.lib | ||
build-mingw-w64: | ||
runs-on: windows-2019 | ||
steps: | ||
|
@@ -118,8 +173,8 @@ jobs: | |
- run: ctest -V | ||
working-directory: ./build | ||
assemble-sdk: | ||
runs-on: ubuntu-18.04 | ||
needs: [build-windows-release, build-linux, build-macos] | ||
runs-on: ubuntu-20.04 | ||
needs: [build-windows-release, build-macos, build-linux-ubi8-gcc12] | ||
steps: | ||
- run: sudo apt install -y zip unzip | ||
- run: mkdir build | ||
|
@@ -140,7 +195,7 @@ jobs: | |
name: lib3mf_sdk.zip | ||
path: build/lib3mf_sdk.zip | ||
deploy-linux: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
needs: [assemble-sdk] | ||
steps: | ||
- run: sudo apt install -y zip unzip | ||
|
@@ -192,7 +247,7 @@ jobs: | |
cmake --build . --config Release | ||
./Release/Example_ExtractInfo.exe ../../Files/Helix.3mf | ||
deploy-macos: | ||
runs-on: macos-10.15 | ||
runs-on: macos-latest | ||
needs: [assemble-sdk] | ||
steps: | ||
- name: Download lib3mf_sdk artifact | ||
|
@@ -214,4 +269,4 @@ jobs: | |
sh Examples/Cpp/GenerateMake.sh | ||
cd Examples/Cpp/build | ||
cmake --build . | ||
./Example_ExtractInfo ../../Files/Helix.3mf | ||
./Example_ExtractInfo ../../Files/Helix.3mf |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ lib3MF.pc | |
Include/Model/COM/NMR_COMVersion.h | ||
debug | ||
.DS_Store | ||
.vscode |
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 |
---|---|---|
@@ -1,6 +1,18 @@ | ||
[submodule "Tests/googletest"] | ||
path = Tests/googletest | ||
[submodule "submodules/AutomaticComponentToolkit"] | ||
path = submodules/AutomaticComponentToolkit | ||
url = https://github.com/Autodesk/AutomaticComponentToolkit.git | ||
[submodule "submodules/fast_float"] | ||
path = submodules/fast_float | ||
url = https://github.com/fastfloat/fast_float.git | ||
[submodule "submodules/zlib"] | ||
path = submodules/zlib | ||
url = https://github.com/madler/zlib.git | ||
[submodule "submodules/cpp-base64"] | ||
path = submodules/cpp-base64 | ||
url = https://github.com/ReneNyffenegger/cpp-base64.git | ||
[submodule "submodules/libzip"] | ||
path = submodules/libzip | ||
url = https://github.com/nih-at/libzip.git | ||
[submodule "submodules/googletest"] | ||
path = submodules/googletest | ||
url = https://github.com/google/googletest.git | ||
[submodule "Tests/libressl"] | ||
path = Tests/libressl | ||
url = https://github.com/3MFConsortium/forks-libressl-distribution.git |
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
Oops, something went wrong.