Skip to content

Commit

Permalink
Added some debug
Browse files Browse the repository at this point in the history
  • Loading branch information
coldav committed Nov 27, 2024
1 parent 02e6c1b commit cf97057
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
31 changes: 14 additions & 17 deletions .github/actions/do_build_icd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ runs:
repository: KhronosGroup/OpenCL-Headers
path: headers

- name: build headers
- name: cmake headers
shell: bash
run: |
pwd
ls -d *
cmake headers -Bheaders/build_${{steps.calc_vars.outputs.arch}} \
-DCMAKE_TOOLCHAIN_FILE=${{ steps.calc_vars.outputs.toolchain }} \
-DCMAKE_INSTALL_PREFIX=$PWD/headers_install_${{steps.calc_vars.outputs.arch}} \
run:
cmake headers -Bheaders/build_${{steps.calc_vars.outputs.arch}}
-DCMAKE_TOOLCHAIN_FILE=${{ steps.calc_vars.outputs.toolchain }}
-DCMAKE_INSTALL_PREFIX=$PWD/headers_install_${{steps.calc_vars.outputs.arch}}
-GNinja
ninja -v -C headers/build_${{steps.calc_vars.outputs.arch}}
- name: ninja install headers
shell: bash
run:
ninja -v -C headers/build_${{steps.calc_vars.outputs.arch}} install

- name: upload header artifact
Expand All @@ -51,20 +51,17 @@ runs:
- name: icd cmake
shell: bash
run:
cmake icd -B icd/build_${{steps.calc_vars.outputs.arch}} \
-DCMAKE_TOOLCHAIN_FILE=${{ steps.calc_vars.outputs.toolchain }} \
-DCMAKE_BUILD_TYPE=${{ inputs.build_type }} \
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install_icd_${{steps.calc_vars.outputs.arch}} \
-DOpenCLHeaders_DIR=$GITHUB_WORKSPACE/headers_install_${{steps.calc_vars.outputs.arch}}/share/cmake/OpenCLHeaders \
cmake icd -B icd/build_${{steps.calc_vars.outputs.arch}}
-DCMAKE_TOOLCHAIN_FILE=${{ steps.calc_vars.outputs.toolchain }}
-DCMAKE_BUILD_TYPE=${{ inputs.build_type }}
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install_icd_${{steps.calc_vars.outputs.arch}}
-DOpenCLHeaders_DIR=$GITHUB_WORKSPACE/headers_install_${{steps.calc_vars.outputs.arch}}/share/cmake/OpenCLHeaders
-GNinja

- name: icd build
shell: bash
run: |
ninja -v -C icd/build_${{steps.calc_vars.outputs.arch}}
run:
ninja -v -C icd/build_${{steps.calc_vars.outputs.arch}} install
pwd
ls icd/

- name: upload icd artifact
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run_pr_tests_caller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ concurrency:
jobs:
run-with-pull:
name: Call PR testing on pull request
if: ${{ github.event_name == 'pull_request' }}
if: false
# ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/run_pr_tests.yml
with:
update_cache: false
Expand Down

0 comments on commit cf97057

Please sign in to comment.