)]}'
{
  "commit": "b8f0306f0f99b3636b604f423cccba0122a8c84e",
  "tree": "2d72dda1180be7f7b11b1d4307a323d8f38c732f",
  "parents": [
    "052c0004f9b15333679ce6bb63513e43819a18f2"
  ],
  "author": {
    "name": "Scott Todd",
    "email": "scott.todd0@gmail.com",
    "time": "Thu Aug 08 14:01:39 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Aug 08 14:01:39 2024 -0700"
  },
  "message": "Switch from build_runtime.sh to inlined CMake commands. (#18162)\n\nI\u0027m trying to reduce the number of scripts that we have in\r\n[`build_tools/cmake/`](https://github.com/iree-org/iree/tree/main/build_tools/cmake),\r\nso changes like https://github.com/iree-org/iree/pull/17996 will be\r\neasier to make with confidence.\r\n\r\nThis makes the `build_test_runtime` CI job no longer depend on these\r\nscripts:\r\n*\r\n[`build_tools/cmake/build_runtime.sh`](https://github.com/iree-org/iree/blob/main/build_tools/cmake/build_runtime.sh)\r\n* After this, the last use will be deleted in\r\nhttps://github.com/iree-org/iree/pull/18144\r\n*\r\n[`build_tools/cmake/setup_build.sh`](https://github.com/iree-org/iree/blob/main/build_tools/cmake/setup_build.sh)\r\n*\r\n[`build_tools/cmake/setup_ccache.sh`](https://github.com/iree-org/iree/blob/main/build_tools/cmake/setup_ccache.sh)\r\n\r\nThese layers of scripts made it somewhat easier to have CI workflows\r\njust run scripts, but the scripts grew branches over time that obscured\r\nwhat was actually running. In many cases the commands are quite simple\r\nand can just be inlined.\r\n\r\nOther ideas for simplification:\r\n* Use https://github.com/marketplace/actions/get-cmake to install Ninja\r\nacross platforms (with caching)\r\n* Use https://github.com/marketplace/actions/run-cmake together with\r\nCMake presets (\"configure\"/\"build\"/\"test\", possibly also \"workflow\")\r\n* Reduce reliance on\r\n[`build_tools/cmake/ctest_all.sh`](https://github.com/iree-org/iree/blob/main/build_tools/cmake/ctest_all.sh)\r\n- that excludes some tests based on platform (e.g. Windows) and adds\r\nexclude labels for tests that need special hardware (e.g. GPUs), but\r\nideally `ctest` would work out of the box without such a script\r\n\r\nci-exactly: build_test_runtime",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a821d55b030467ac4aca531f8ea0e8b15788f388",
      "old_mode": 33188,
      "old_path": ".github/workflows/ci.yml",
      "new_id": "b2bfa1a96e3e2d2b8c0e78e66d91a1e7b0256144",
      "new_mode": 33188,
      "new_path": ".github/workflows/ci.yml"
    }
  ]
}
