File tree Expand file tree Collapse file tree 3 files changed +54
-1
lines changed
Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 1+ # Simple workflow for testing aarch64 ock
2+ name : Run aarch64 ock tests for pr testing
3+ on :
4+ # For testing purposes do on a pull request if this file changes
5+ pull_request :
6+ paths :
7+ - ' .github/workflows/build_ock_aarch64.yml'
8+ - ' .github/actions/setup_build/**'
9+
10+ # Allows you to run this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+ cancel-in-progress : true
16+
17+ jobs :
18+
19+ # build and run host aarch64, execute UnitCL and lit tests and build and run offline
20+ run_host_aarch64 :
21+ runs-on : cp-graviton
22+ steps :
23+ - name : Checkout repo
24+ uses : actions/checkout@v4
25+ - name : add to path
26+ run :
27+ echo "PATH=$PATH:/home/ubuntu/.local/bin" >> $GITHUB_ENV
28+
29+ - name : echo PATH
30+ run :
31+ echo PATH=$PATH
32+ # installs tools, ninja, installs llvm and sets up sccahe
33+ - name : setup-ubuntu
34+ uses : ./.github/actions/setup_build
35+ with :
36+ llvm_version : 18
37+ llvm_build_type : RelAssert
38+
39+ # These need to match the configurations of build_pr_cache to use the cache effectively
40+ - name : build host x86_64 online release
41+ uses : ./.github/actions/do_build_ock
42+ with :
43+ build_type : ReleaseAssert
44+
45+ - name : run just online lit
46+ run :
47+ ninja -C build check-ock-all-lit
48+
49+ - name : run host online check
50+ run :
51+ ninja -C build check-ock-UnitCL
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ permissions: {}
2525
2626jobs :
2727 analyze-host-x86_64-release :
28+ if : false
2829 name : Analyze host x86_64 release
2930 permissions :
3031 # required for all workflows
7273 category : " /language:c-cpp"
7374
7475 analyze-riscv-m1 :
76+ if : false
7577 name : Analyze riscv m1
7678 permissions :
7779 # required for all workflows
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ concurrency:
2525jobs :
2626 run-with-pull :
2727 name : Call PR testing on pull request
28- if : ${{ github.event_name == 'pull_request' }}
28+ if : ${{ false && github.event_name == 'pull_request' }}
2929 uses : ./.github/workflows/run_pr_tests.yml
3030 with :
3131 update_cache : false
You can’t perform that action at this time.
0 commit comments