@@ -20,24 +20,44 @@ runs:
20
20
- name : build ock x86_64
21
21
uses : ./.github/actions/do_build_ock
22
22
with :
23
- build_targets : ${{ inputs.cache_seed == 'true' && 'UnitCL clc' || 'check-ock' }}
23
+ build_targets : UnitCL
24
+ # ${{ inputs.cache_seed == 'true' && 'UnitCL clc' || 'check-ock' }}
24
25
enable_api : " "
25
26
builtin_kernel : ON
27
+ debug_support : ON
26
28
shell_to_use : pwsh
27
29
gtest_launcher : " python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
28
- debug_support : ON
29
30
enable_unitcl_expensive : ${{ !inputs.is_pull_request && 'ON' || 'OFF' }}
30
31
offline_kernel_tests : ${{ inputs.cache_seed == 'true' && 'OFF' || 'ON' }}
31
32
32
- - name : build ock x86_64 offline
33
- uses : ./.github/actions/do_build_ock
33
+ - name : setenvs
34
+ shell : bash
35
+ run : |
36
+ echo "CA_EXTRA_COMPILE_OPTS=-cl-wfv=never" >> $env:GITHUB_ENV
37
+ echo "CA_LLVM_OPTIONS=-print-before-all -print-after-all" >> $env:GITHUB_ENV
38
+
39
+ - name : run stuff
40
+ shell : pwsh
41
+ run : |
42
+ powershell.exe -noprofile -c "${{ github.workspace }}/build/bin/UnitCL --gtest_filter=Execution/PrintfExecution.Printf_03_String/OpenCLC > windows_out.txt 2>&1; exit 0"
43
+ cat windows_out.txt
44
+
45
+ - name : upload artifact
46
+ uses : actions/upload-artifact@v4
34
47
with :
35
- build_targets : ${{ inputs.cache_seed == 'true' && 'UnitCL' || 'check-ock' }}
36
- runtime_compiler_enabled : OFF
37
- external_clc : " ${{ github.workspace }}/build/bin/clc.exe"
38
- shell_to_use : pwsh
39
- gtest_launcher : " python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
40
- debug_support : ON
41
- install_dir : ${{ github.workspace }}/install_offline
42
- build_dir : ${{ github.workspace }}/build_offline
43
- offline_kernel_tests : ${{ inputs.cache_seed == 'true' && 'OFF' || 'ON' }}
48
+ name : windows_out
49
+ path : windows_out.txt
50
+ retention-days : 1
51
+
52
+ # - name: build ock x86_64 offline
53
+ # uses: ./.github/actions/do_build_ock
54
+ # with:
55
+ # build_targets: ${{ inputs.cache_seed == 'true' && 'UnitCL' || 'check-ock' }}
56
+ # runtime_compiler_enabled: OFF
57
+ # external_clc: "${{ github.workspace }}/build/bin/clc.exe"
58
+ # shell_to_use: pwsh
59
+ # gtest_launcher: "python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
60
+ # debug_support: ON
61
+ # install_dir: ${{ github.workspace }}/install_offline
62
+ # build_dir: ${{ github.workspace }}/build_offline
63
+ # offline_kernel_tests: ${{ inputs.cache_seed == 'true' && 'OFF' || 'ON' }}
0 commit comments