Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed May 21, 2024
1 parent 49c1d8e commit 7d36617
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,47 @@ jobs:
# - run: cmake --build . --target lib3mf_memcheck
# working-directory: ./build
#
# 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:
# 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-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:
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-latest
Expand Down Expand Up @@ -457,6 +457,7 @@ jobs:
integration-tests-latest-commit:
runs-on: ubuntu-20.04
needs: [build-linux-ubi8-gcc12]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 7d36617

Please sign in to comment.