[*] bind compiler and runtiem version to 1.8.1.0, add maintainer messa… #132
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: Compiler And Runtime Build | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/workflows/onnx-frontend-ci.yaml" | |
- ".github/workflows/tf-frontend-ci.yaml" | |
- ".github/workflows/torch-frontend-ci.yaml" | |
- "frontends/**" | |
- "**/**.md" | |
- "talks/**" | |
- "compiler/python/version.txt" | |
- "runtime/VERSION_NUMBER" | |
workflow_dispatch: | |
# Ensure that only a single job or workflow using the same | |
# concurrency group will run at a time. This would cancel | |
# any in-progress jobs in the same github workflow and github | |
# ref (e.g. refs/heads/main or refs/pull/<pr_number>/merge). | |
concurrency: | |
# A PR number if a pull request and otherwise the commit hash. This cancels | |
# queued and in-progress runs for the same PR (presubmit) or commit | |
# (postsubmit). The workflow name is prepended to avoid conflicts between | |
# different workflows. | |
group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
clear_workspace: | |
name: Clear workspace | |
runs-on: self-hosted | |
steps: | |
- name: clear workspace | |
run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE | |
byteir_compiler_build_and_test: | |
name: byteir compiler build and test | |
runs-on: self-hosted | |
needs: [clear_workspace] | |
steps: | |
- name: Checkout byteir repo | |
uses: actions/checkout@v3 | |
- name: Run build and test | |
run: ./scripts/compiler/build_and_test.sh | |
shell: bash | |
brt_check_cpu: | |
name: BRT cpu test | |
runs-on: self-hosted | |
needs: [clear_workspace] | |
steps: | |
- name: Checkout byteir repo | |
uses: actions/checkout@v3 | |
- name: Build and test BRT | |
run: ./scripts/runtime/build_and_test.sh --python | |
shell: bash | |
- name: Build and test BRT external project | |
run: ./scripts/runtime/build_external_project.sh | |
shell: bash | |
brt_check_cuda: | |
name: BRT CUDA test | |
runs-on: self-hosted | |
needs: [clear_workspace] | |
steps: | |
- name: Checkout byteir repo | |
uses: actions/checkout@v3 | |
- name: Build and test BRT with CUDA ON | |
run: ./scripts/runtime/build_and_test.sh --cuda --python | |
shell: bash | |
brt_check_asan: | |
name: BRT test with asan | |
runs-on: self-hosted | |
needs: [clear_workspace] | |
steps: | |
- name: Checkout byteir repo | |
uses: actions/checkout@v3 | |
- name: Build and test BRT with asan | |
run: ./scripts/runtime/build_and_test.sh --cuda --asan | |
shell: bash |