Skip to content

fix: bind CALL $params per Eval and keep them in params_type #556

fix: bind CALL $params per Eval and keep them in params_type

fix: bind CALL $params per Eval and keep them in params_type #556

Workflow file for this run

name: NeuG Test (Linux)
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
workflow_dispatch:
release:
types:
- created
pull_request:
branches:
- main
paths:
- 'cmake/**'
- 'src/**'
- 'bin/**'
- 'proto/**'
- 'third_party/**'
- 'tools/python_bind/**'
- 'tools/java_driver/**'
- 'tools/utils/**'
- 'tests/**'
- '.github/workflows/Linux.yml'
- '.github/workflows/build-and-test-common.yml'
- 'scripts/install_deps.sh'
- 'include/**'
- 'CMakeLists.txt'
- 'doc/source/tutorials/**'
push:
paths:
- 'cmake/**'
- 'src/**'
- 'bin/**'
- 'proto/**'
- 'third_party/**'
- 'tools/python_bind/**'
- 'tools/java_driver/**'
- 'tools/utils/**'
- 'tests/**'
- '.github/workflows/Linux.yml'
- '.github/workflows/build-and-test-common.yml'
- 'scripts/install_deps.sh'
- 'include/**'
- 'CMakeLists.txt'
- 'doc/source/tutorials/**'
concurrency:
group: ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
format_check:
if: (github.event_name != 'push' || github.repository != 'alibaba/neug' || github.ref == 'refs/heads/main')
uses: ./.github/workflows/format-check.yml
with:
is_pull_request: ${{ github.event_name == 'pull_request' }}
# ============================================================
# Push / workflow_dispatch: build both x86_64 and arm64
# ============================================================
build_and_test_linux_x86_64:
needs: format_check
if: ${{ (needs.format_check.result == 'success' || needs.format_check.result == 'skipped') && (github.event_name != 'push' || github.repository != 'alibaba/neug' || github.ref == 'refs/heads/main') && contains(fromJSON('["push", "workflow_dispatch", "release"]'), github.event_name) }}
uses: ./.github/workflows/build-and-test-common.yml
with:
runs-on: ${{ github.repository == 'alibaba/neug' && '["self-hosted", "daily", "linux", "x64"]' || '["ubuntu-22.04"]' }}
container-json: '{"image":"neug-registry.cn-hongkong.cr.aliyuncs.com/neug/neug-dev:v0.1.3"}'
os-type: linux
enable-java-test: true
enable-coverage: true
enable-gopt-test: true
event-name: ${{ github.event_name }}
build_and_test_linux_arm64:
needs: format_check
if: ${{ (needs.format_check.result == 'success' || needs.format_check.result == 'skipped') && (github.event_name != 'push' || github.repository != 'alibaba/neug' || github.ref == 'refs/heads/main') && contains(fromJSON('["push", "workflow_dispatch", "release"]'), github.event_name) }}
uses: ./.github/workflows/build-and-test-common.yml
with:
runs-on: ${{ github.repository == 'alibaba/neug' && '["self-hosted", "daily", "linux", "arm64"]' || '["ubuntu-22.04-arm"]' }}
container-json: '{"image":"neug-registry.cn-hongkong.cr.aliyuncs.com/neug/neug-dev:v0.1.3"}'
os-type: linux
enable-java-test: true
enable-coverage: true
enable-gopt-test: true
event-name: ${{ github.event_name }}
# ============================================================
# Pull Request: run a single random architecture
# - self-hosted: omit arch label to let the runner pool pick randomly
# - GitHub-hosted: fallback to x86_64 (ubuntu-22.04)
# ============================================================
build_and_test_linux_pr:
name: Build and test Linux (PR random arch)
needs: format_check
if: ${{ (needs.format_check.result == 'success' || needs.format_check.result == 'skipped') && github.event_name == 'pull_request' }}
uses: ./.github/workflows/build-and-test-common.yml
with:
runs-on: ${{ github.repository == 'alibaba/neug' && '["self-hosted", "daily", "linux"]' || '["ubuntu-22.04"]' }}
container-json: '{"image":"neug-registry.cn-hongkong.cr.aliyuncs.com/neug/neug-dev:v0.1.3"}'
os-type: linux
enable-java-test: true
enable-coverage: true
enable-gopt-test: true
event-name: ${{ github.event_name }}