Fix misplaced validation for four-byte-encoded floats which exceed representable range (fixes #172). #457
Workflow file for this run
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
name: build-clp-core | |
on: | |
push: | |
paths: | |
- '.github/workflows/clp-core-build.yaml' | |
- 'components/core/**' | |
- '!components/core/tools/scripts/lib_install/macos-12/**' | |
pull_request: | |
paths: | |
- '.github/workflows/clp-core-build.yaml' | |
- 'components/core/**' | |
- '!components/core/tools/scripts/lib_install/macos-12/**' | |
workflow_dispatch: | |
workflow_run: | |
workflows: ["generate-build-dependency-image"] | |
branches: [main] | |
types: | |
- completed | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME_BASE: ${{github.repository}}/clp-core-x86 | |
concurrency: build-${{github.ref}} | |
jobs: | |
build-focal: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/y-scope/clp/clp-core-dependencies-x86-ubuntu-focal:main | |
volumes: | |
- ${{github.workspace}}/build:/output | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Workaround actions/runner-images/issues/6775 | |
run: chown $(id -u):$(id -g) -R . | |
- name: Build CLP Core | |
id: build | |
uses: ./.github/actions/clp-core-build | |
- name: Upload CLP Binary artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: clp-binaries-focal | |
path: ${{github.workspace}}/clp-binaries-focal.tar | |
if-no-files-found: error | |
build-clp-core-image: | |
needs: build-focal | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Workaround actions/runner-images/issues/6775 | |
run: chown $(id -u):$(id -g) -R . | |
- name: Download built CLP Binaries | |
uses: actions/download-artifact@v2 | |
with: | |
name: clp-binaries-focal | |
path: ${{github.workspace}}/binaries | |
- name: Extract Binaries Bundle | |
run: tar -xvf clp-binaries-focal.tar | |
working-directory: ${{github.workspace}}/binaries | |
- name: Build and Push Ubuntu Focal Docker Image | |
uses: ./.github/actions/clp-docker-build-push-action | |
with: | |
image_name: ${{env.IMAGE_NAME_BASE}}-ubuntu-focal | |
context: ${{github.workspace}}/binaries | |
file: components/core/tools/docker-images/clp-core-focal/Dockerfile | |
token: ${{secrets.GITHUB_TOKEN}} | |
push_image: ${{'pull_request' != github.event_name && 'refs/heads/main' == github.ref}} | |
build-bionic: | |
runs-on: ubuntu-latest | |
container: ghcr.io/y-scope/clp/clp-core-dependencies-x86-ubuntu-bionic:main | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Workaround actions/runner-images/issues/6775 | |
run: chown $(id -u):$(id -g) -R . | |
- name: Build CLP Core | |
uses: ./.github/actions/clp-core-build | |
build-centos: | |
runs-on: ubuntu-latest | |
container: ghcr.io/y-scope/clp/clp-core-dependencies-x86-centos7.4:main | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Workaround actions/runner-images/issues/6775 | |
run: chown $(id -u):$(id -g) -R . | |
- name: Build CLP Core | |
uses: ./.github/actions/clp-core-build |