diff --git a/.github/actions/setup_build/action.yml b/.github/actions/setup_build/action.yml index 93c3a0b3c..9483d9e95 100644 --- a/.github/actions/setup_build/action.yml +++ b/.github/actions/setup_build/action.yml @@ -39,7 +39,8 @@ runs: if [ "${{ inputs.ubuntu_version }}" = "22.04" ]; then sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.243-jammy.list https://packages.lunarg.com/vulkan/1.3.243/lunarg-vulkan-1.3.243-jammy.list; fi if [ "${{ inputs.ubuntu_version }}" = "24.04" ]; then sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list https://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list; fi sudo apt-get update - pip install lit clang-format==19.1.0 clang-tidy==19.1.0 virtualenv + pip install lit clang-format==19.1.0 virtualenv + sudo apt-get install --yes clang-tidy-19 sudo apt-get install --yes doxygen sudo apt-get install --yes vulkan-sdk if [ "${{ inputs.cross_arch }}" = "x86" ]; then \ diff --git a/.github/workflows/build_ock_aarch64.yml b/.github/workflows/build_ock_aarch64.yml new file mode 100644 index 000000000..b10bca093 --- /dev/null +++ b/.github/workflows/build_ock_aarch64.yml @@ -0,0 +1,51 @@ +# Simple workflow for testing aarch64 ock +name: Run aarch64 ock tests for pr testing +on: + # For testing purposes do on a pull request if this file changes + pull_request: + paths: + - '.github/workflows/build_ock_aarch64.yml' + - '.github/actions/setup_build/**' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + + # build and run host aarch64, execute UnitCL and lit tests and build and run offline + run_host_aarch64: + runs-on: cp-graviton + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: add to path + run: + echo "PATH=$PATH:/home/ubuntu/.local/bin" >> $GITHUB_ENV + + - name: echo PATH + run: + echo PATH=$PATH + # installs tools, ninja, installs llvm and sets up sccahe + - name: setup-ubuntu + uses: ./.github/actions/setup_build + with: + llvm_version: 18 + llvm_build_type: RelAssert + + # These need to match the configurations of build_pr_cache to use the cache effectively + - name: build host x86_64 online release + uses: ./.github/actions/do_build_ock + with: + build_type: ReleaseAssert + + - name: run just online lit + run: + ninja -C build check-ock-all-lit + + - name: run host online check + run: + ninja -C build check-ock-UnitCL diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 969248aa1..7369867af 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -25,6 +25,7 @@ permissions: {} jobs: analyze-host-x86_64-release: + if: false name: Analyze host x86_64 release permissions: # required for all workflows @@ -72,6 +73,7 @@ jobs: category: "/language:c-cpp" analyze-riscv-m1: + if: false name: Analyze riscv m1 permissions: # required for all workflows diff --git a/.github/workflows/run_pr_tests_caller.yml b/.github/workflows/run_pr_tests_caller.yml index bf7d33b70..a26a5a929 100644 --- a/.github/workflows/run_pr_tests_caller.yml +++ b/.github/workflows/run_pr_tests_caller.yml @@ -25,7 +25,7 @@ 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