Commit Graph

42 Commits

Author SHA1 Message Date
Amin Yahyaabadi d95a1c182b
fix: support ninja on Windows/Linux arm 2024-09-08 03:34:24 -07:00
Amin Yahyaabadi 20c025d4d7
fix: fix tool destination file names + automatic extract functions 2024-08-21 15:10:46 -07:00
Amin Yahyaabadi 08cf20cc0e
fix: add js file extension for all relative imports 2024-08-15 15:22:07 -07:00
Amin Yahyaabadi e2c1dd3622
fix: configurable runner tool cache + disabled by default
Runner tool cache can fill up the disk space (e.g. for LLVM), so it is disabled by default
2024-08-08 15:07:45 -07:00
Amin Yahyaabadi 4ab758d47f
fix: add biome linter + fix the issues 2024-08-06 23:44:32 -07:00
Amin Yahyaabadi 15f5776d5f lint: use dprint for formatting 2024-04-03 00:15:43 -07:00
Amin Yahyaabadi ea04bfe6af fix: replace npmcli/ci-detect with ci-info 2023-04-22 02:31:04 -07:00
Amin Yahyaabadi b9c2f3b391 chore: break the code for handling versions 2022-11-02 20:01:42 -07:00
Amin Yahyaabadi 3b6093bb8a fix: remove extension-tools and path in favor of patha 2022-08-20 15:38:51 -07:00
Amin Yahyaabadi 3d08c16e03 fix: fix github-actions detection
Use the types from https://github.com/npm/ci-detect/pull/31
2022-08-07 19:13:40 -07:00
Amin Yahyaabadi 88c2d1ac03 fix: use ci-detect instead of isCI 2022-08-07 18:48:41 -07:00
Amin Yahyaabadi c5a2f11e38 fix: use extension-tools in setup-cpp 2022-08-07 18:36:04 -07:00
Amin Yahyaabadi 45e4fd60f0 chore: rename isci to isCI 2022-07-10 16:11:32 -07:00
Amin Yahyaabadi cd21dd244f fix: extract zip files using 7z on windows
`extractZip` from @actions uses the pre-installed PowerShell
This doesn't work properly with old PowerShell versions
2022-05-09 16:26:08 -07:00
Amin Yahyaabadi 09cdd6608c test: test the default versions in the tests 2022-04-16 00:54:37 -07:00
Amin Yahyaabadi 6d9651573c test: test RUNNER_TOOL_CACHE in cache tests 2022-01-30 17:58:01 -08:00
Amin Yahyaabadi 802f1bce3a fix: test cache hit only on GitHub CI 2022-01-30 16:59:46 -08:00
Amin Yahyaabadi 05211426be fix: rename the cache folder to hostedtoolcache 2022-01-30 16:14:56 -08:00
Amin Yahyaabadi f9ff833979 test: pass process.arch in the setupBin tests 2022-01-30 16:01:13 -08:00
Amin Yahyaabadi a062ce6962 feat: support passing arch from CLI to setupBin 2022-01-30 15:33:22 -08:00
Amin Yahyaabadi ec22e0200a fix: fix setupBin 2021-11-21 13:54:12 -06:00
Amin Yahyaabadi c6eb5ca89b feat: change the installation directory to ~/tool
BREAKING CHANGE
2021-11-21 12:53:27 -06:00
Amin Yahyaabadi ca064b68e0 test: increase timeout of the tests 2021-09-17 04:50:12 -05:00
Amin Yahyaabadi dde8036194 feat: add which test to testBin 2021-09-16 10:07:14 -05:00
Amin Yahyaabadi 269d96f070 fix: pass the default arguments to the functions 2021-09-16 07:09:01 -05:00
Amin Yahyaabadi 511a2fbbce feat: use a similar interface for installing all the packages 2021-09-16 06:58:41 -05:00
Amin Yahyaabadi a970eb0e44 feat: add default version registry 2021-09-16 06:36:35 -05:00
Amin Yahyaabadi 04b70139f6 feat: move the default versions to the functions themselves 2021-09-16 06:14:06 -05:00
Amin Yahyaabadi fb4b68daca fix: increase test timeout 2021-09-15 02:37:42 -05:00
Amin Yahyaabadi 4927f3a272 chore: rename setupPackage to setupBin 2021-09-14 11:41:13 -05:00
Amin Yahyaabadi 04dd26cc88 test: add tests for finding the tool in the cache 2021-09-14 11:09:48 -05:00
Amin Yahyaabadi 63126aeffa fix: return the installDir and binDir 2021-09-14 09:13:39 -05:00
Amin Yahyaabadi 4824306aab fix: spawn the bin in the tests 2021-09-14 09:04:39 -05:00
Amin Yahyaabadi 9bf59efb6c fix: use setup bin for llvm installation 2021-09-14 08:50:26 -05:00
Amin Yahyaabadi a5ae2b4863 fix: make install directory configurable 2021-09-14 07:07:59 -05:00
Amin Yahyaabadi a3c53e221f fix: fix cmake installation on linux 2021-09-14 05:08:02 -05:00
Amin Yahyaabadi e77708aa48 fix: use setup bin for ninja 2021-09-14 04:26:33 -05:00
Amin Yahyaabadi 7f512aeee3 refactor: refactor setupCmake and setupNinja 2021-09-14 03:38:47 -05:00
Amin Yahyaabadi 0a3aa6cc9c test: refactor setup and cleanup helpers 2021-09-14 03:26:53 -05:00
Amin Yahyaabadi 41200c9f2f test: add unit tests
Used some code from https://github.com/aminya/install-cmake/
2021-09-14 03:18:36 -05:00
Amin Yahyaabadi 15879e9212 fix: fix the platform name for ninja 2021-09-14 03:13:42 -05:00
Amin Yahyaabadi 0e7542179a feat: add setupNinja
Used some code from https://github.com/aminya/install-cmake/blob/new-versions-and-arch/src/ninja.ts
2021-09-14 03:13:41 -05:00