File tree 3 files changed +69
-10
lines changed
3 files changed +69
-10
lines changed Original file line number Diff line number Diff line change 82
82
shell : bash
83
83
run :
84
84
cmake -GNinja
85
- -B${{ inputs.build_dir }}
86
- -DCMAKE_C_COMPILER_LAUNCHER=sccache
87
- -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
85
+ -B${{ inputs.build_dir }}
88
86
-DCA_MUX_TARGETS_TO_ENABLE=${{ inputs.mux_targets_enable }}
89
87
-DCA_ENABLE_API=${{ inputs.enable_api }}
90
88
-DCA_LLVM_INSTALL_DIR=${{ inputs.llvm_install_dir }}
@@ -110,6 +108,12 @@ runs:
110
108
-DCMAKE_INSTALL_PREFIX=${{ inputs.install_dir }}
111
109
${{ inputs.extra_flags }}
112
110
.
111
+
112
+ # Removed for aarch64
113
+ # -DCMAKE_C_COMPILER_LAUNCHER=sccache
114
+ # -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
115
+
116
+
113
117
- name : build_ock
114
118
shell : bash
115
119
run :
Original file line number Diff line number Diff line change @@ -39,11 +39,12 @@ runs:
39
39
fail-on-cache-miss : true
40
40
41
41
# note the PR testing usage should set 'save' to false, to avoid PR testing creating new caches on a branch
42
- - name : Setup sccache
43
- uses :
hendrikmuhs/[email protected]
44
- with :
45
- max-size : 200M
46
- key : sccache-build
47
- variant : sccache
48
- save : ${{ inputs.save }}
42
+ # - name: Setup sccache
43
+ # if: ${{ inputs.arch}} == 'x86_64'
44
+ # uses: hendrikmuhs/[email protected]
45
+ # with:
46
+ # max-size: 200M
47
+ # key: sccache-build
48
+ # variant: sccache
49
+ # save: ${{ inputs.save }}
49
50
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_ubuntu_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_ubuntu_build
35
+ with :
36
+ llvm_version : 18
37
+ llvm_build_type : RelAssert
38
+ arch : aarch64
39
+
40
+ # These need to match the configurations of build_pr_cache to use the cache effectively
41
+ - name : build host x86_64 online release
42
+ uses : ./.github/actions/do_build_ock
43
+ with :
44
+ build_type : ReleaseAssert
45
+
46
+ - name : run just online lit
47
+ run :
48
+ ninja -C build check-ock-all-lit
49
+
50
+ - name : run host online check
51
+ run :
52
+ ninja -C build check-ock-UnitCL
53
+
54
+
You can’t perform that action at this time.
0 commit comments