Skip to content

Add a flush method to dumper #386

Add a flush method to dumper

Add a flush method to dumper #386

Workflow file for this run

name: "Build the manylinux_2_28-based image with LIMA compiled with Qt6 installed workflow"
on:
push:
branches:
- master
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
MANYLINUX_TAG: "2022-10-25-fbea779"
PYTHON_VERSION: "3.7"
PYTHON_SHORT_VERSION: "cp37-cp37m"
PYTHON_WHEEL_VERSION: "cp37-abi3"
PYTHON_FULL_VERSION: "3.7.15"
QT_VERSION_MAJOR: "6"
QT_VERSION_MINOR: "5"
QT_VERSION_PATCH: "2"
QT_VERSION: "6.5"
QT_FULL_VERSION: "6.5.2"
PYSIDE_VERSION: "6"
LLVM_VERSION: "13.0.1"
GCC_VERSION: "11.2.1"
jobs:
# manylinux_2_28_with_boost:
# name: "Build the manylinux_2_28-based image with Boost"
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_boost --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" -t aymara/manylinux_2_28_with_boost:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_boost:latest
# manylinux_2_28_with_qt6:
# name: "Build the manylinux_2_28-based image with Qt6"
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_qt6 --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/manylinux_2_28_with_qt${QT_VERSION}:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_qt${QT_VERSION}:latest
#
# manylinux_2_28_with_qt_and_pyside:
# name: "Build the manylinux_2_28_with_qt_and_pyside-based imaged necessary for lima-python"
# #needs: manylinux_2_28_with_llvm
# needs: manylinux_2_28_with_qt6
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Free disk space"
# run: bash ./free-diskspace.sh
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build --progress=plain -f Dockerfile-manylinux_2_28_with_qt_and_pyside --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYSIDE_VERSION="${PYSIDE_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/manylinux_2_28_with_qt${QT_VERSION}_and_pyside-python${PYTHON_VERSION}:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_qt${QT_VERSION}_and_pyside-python${PYTHON_VERSION}:latest
manylinux_2_28_lima-manylinux:
name: "Build the manylinux_2_28-based image with LIMA compiled with Qt6 installed job"
runs-on: ubuntu-latest
# needs: manylinux_2_28_with_qt_and_pyside
# needs: manylinux_2_28_with_boost
steps:
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Checkout code"
uses: actions/checkout@v3
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/[email protected]
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: true
- name: "Build image"
run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_qt6_lima-manylinux --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYSIDE_VERSION="${PYSIDE_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/lima-manylinux_2_28-qt${QT_VERSION}-python${PYTHON_VERSION}:latest .
- name: "Push image"
run: docker push aymara/lima-manylinux_2_28-qt${QT_VERSION}-python${PYTHON_VERSION}:latest