Skip to content

Commit

Permalink
Restore all PR jobs and format clik/refsi jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Nov 20, 2024
1 parent 2af3a31 commit 65a1bcd
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions .github/workflows/run_pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:

# build and run host x86_64, execute UnitCL and lit tests and build and run offline
run_host_x86_64:
if: false
runs-on: ubuntu-22.04

steps:
Expand Down Expand Up @@ -78,7 +77,6 @@ jobs:

# build and run riscv m1, execute UnitCL and lit tests
run_riscv_m1:
if: false

runs-on: ubuntu-22.04

Expand Down Expand Up @@ -107,7 +105,6 @@ jobs:

# build and run clang-tidy
run_clang_tidy_changes:
if: false

runs-on: ubuntu-22.04

Expand Down Expand Up @@ -170,7 +167,6 @@ jobs:
# run clang-format-diff on the repo
run_clang_format:
if: false

runs-on: ubuntu-22.04

Expand All @@ -193,7 +189,6 @@ jobs:
# Based on: mr-windows-msvc-x86_64-llvm-previous-cl3.0-offline
run_windows_msvc_x86_64_llvm_latest_cl3_0_offline:
if: false

runs-on: windows-2019

Expand Down Expand Up @@ -240,7 +235,6 @@ jobs:

# Based on: mr-ubuntu-gcc-x86_64-riscv-fp16-cl3.0-unitcl_vecz
run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -270,7 +264,6 @@ jobs:

# Based on: mr-ubuntu-clang-x86-llvm-previous-cl3-0-offline
run-ubuntu-clang-x86-llvm-latest-cl3-0-offline:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 90 # offline needs longer timeout
steps:
Expand Down Expand Up @@ -310,7 +303,6 @@ jobs:

# Based on: mr-ubuntu-gcc-x86_64-riscv-fp16-cl3-0
run-ubuntu-gcc-x86_64-riscv-fp16-cl3-0:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -342,7 +334,6 @@ jobs:

# Based on: mr-ubuntu-gcc-x86-llvm-latest-x86_64-images-cl3-0-release
run-ubuntu-gcc-x86-llvm-latest-x86_64-images-cl3-0-release:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
Expand All @@ -367,7 +358,6 @@ jobs:

# Based on: mr-ubuntu-gcc-aarch64-llvm-previous-cl3-0-fp16
run-ubuntu-gcc-aarch64-llvm-latest-cl3-0-fp16:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 90 # aarch64 needs longer timeout
steps:
Expand Down Expand Up @@ -403,22 +393,20 @@ jobs:
# Based on a combination of: mr-ubuntu-gcc-x86_64-clik
# and: mr-ubuntu-gcc-x86_64-clik-refsi
run-ubuntu-gcc-x86_64-clik-refsi:
if: false
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- run: echo WORKSPACE is $GITHUB_WORKSPACE && echo PWD is `pwd` && ls -al
- name: Run Clik
run: |
echo WORKSPACE is $GITHUB_WORKSPACE && echo PWD is `pwd` && ls -al
cmake -Bbuild_clik -GNinja -DCMAKE_INSTALL_PREFIX=install clik
LD_PRELOAD=/lib/x86_64-linux-gnu/libpthread.so.0 ninja -Cbuild_clik check
- name: Run Clik-Refsi # No clean - just point o/p at new dirs
- name: Run Clik-Refsi # No initial clean - just point o/p at new dirs
run: |
echo WORKSPACE is $GITHUB_WORKSPACE && echo PWD is `pwd` && ls -al
cmake -Bbuild_clik_refsi -GNinja -DCMAKE_INSTALL_PREFIX=install_refsi -DCLIK_HAL_NAME=refsi -DHAL_REFSI_SOC=M1 -DCLIK_EXTERNAL_HAL_DIR=${{ github.workspace }}/examples/refsi/hal_refsi clik
LD_PRELOAD=/lib/x86_64-linux-gnu/libpthread.so.0 ninja -Cbuild_clik_refsi check
Expand All @@ -439,7 +427,7 @@ jobs:
- name: build ock
uses: ./.github/actions/do_build_ock
with:
build_targets: install
build_targets: install # Build the install target so we don't miss compilation errors
mux_targets_enable: riscv
external_compiler_dirs: ${{ github.workspace }}/examples/refsi/refsi_g1_wi/compiler/refsi_g1_wi
mux_compilers_enable: refsi_g1_wi
Expand All @@ -452,16 +440,17 @@ jobs:
hal_refsi_soc: G1
hal_refsi_thread_mode: WI
debug_support: ON
# DO POST BUILD STEPS WHEN IT RUNS ... note: import tool seems to have mangled the last step slightly?
# - run: python -u scripts/storage.py pull artefact.ca-opencl-cts --verbose --clean --path CA-OpenCL-CTS Ubuntu20 x86_64 14 Release
# - run: echo 'Subgroups,subgroups/test_subgroups barrier_functions_core' >> skipped.txt
# - run: python scripts/testing/run_cities.py -s scripts/jenkins/cts_summary/opencl_conformance_tests_wimpy_very_quick.csv -i skipped.txt -b CA-OpenCL-CTS/bin -L build/lib -e OCL_ICD_FILENAMES=$PWD/build/lib/libCL.so -e OCL_ICD_VENDORS=/dev/null --timeout 00:10:00 --verbose -l build/cts.log -f build/cts.fail -r build/cts_refsi_g1_wi.xml
# For now DO NOT include run_cities.py testing. Run commands generated by the import tool are:
#- run: python -u scripts/storage.py pull artefact.ca-opencl-cts --verbose --clean --path CA-OpenCL-CTS Ubuntu20 x86_64 14 Release
#- run: echo 'Subgroups,subgroups/test_subgroups barrier_functions_core' >> skipped.txt
#- run: python scripts/testing/run_cities.py -s scripts/jenkins/cts_summary/opencl_conformance_tests_wimpy_very_quick.csv -i skipped.txt -b CA-OpenCL-CTS/bin -L build/lib -e OCL_ICD_FILENAMES=$PWD/build/lib/libCL.so -e OCL_ICD_VENDORS=/dev/null --timeout 00:10:00 --verbose -l build/cts.log -f build/cts.fail -r build/cts_refsi_g1_wi.xml
- run: ninja -C build check-ock
- run: ninja -C build check-ock-UnitCL-half
# - uses: actions/[email protected]
# if: success()
# with:
# name: ${{ github.job }}
# path: 'oneapi-construction-kit/build/*.fail
#
# oneapi-construction-kit/''build/*.log'''
# For now DO NOT include upload of run_cities.py testing logs. Action commands generated by the import tool are:
#- uses: actions/[email protected]
# if: success()
# with:
# name: ${{ github.job }}
# path: |
# oneapi-construction-kit/build/*.fail
# oneapi-construction-kit/build/*.log

0 comments on commit 65a1bcd

Please sign in to comment.