Commit Graph

161 Commits

Author SHA1 Message Date
Amin Yahyaabadi cd3be8a4d2 feat: support up to LLVM 15.0.6 2022-12-06 20:46:52 -08:00
Amin Yahyaabadi 5528c08f49 fix: parallelize apt update alternatives 2022-11-22 22:11:47 -08:00
Amin Yahyaabadi dac72316df feat: parallelize the apt package installation chunks 2022-11-22 21:33:06 -08:00
Amin Yahyaabadi eea16aa8c7 fix: down-grade path-exists to v4.0.0 due to node:fs usage 2022-11-22 20:59:40 -08:00
Amin Yahyaabadi ebd90dd38d perf: parallelized checking of the file existence 2022-11-22 20:51:18 -08:00
Amin Yahyaabadi 9be6087e95 fix: install libtinfo5 for llvm 10 and older 2022-11-20 23:41:41 -08:00
Amin Yahyaabadi 44b95bad75 fix: use the os version when choosing gcc for llvm 2022-11-20 17:04:52 -08:00
Amin Yahyaabadi a1958c0408 fix: remove deprecated setOutput 2022-11-08 16:30:09 -08:00
Amin Yahyaabadi 4e382d504c fix: refactor llvm code into separate modules 2022-11-08 16:15:24 -08:00
Amin Yahyaabadi bd7b54ade4 perf: install LLVM and GCC in parallel 2022-11-08 15:51:15 -08:00
Amin Yahyaabadi b9c2f3b391 chore: break the code for handling versions 2022-11-02 20:01:42 -07:00
Amin Yahyaabadi b562412150 fix: fix the llvm 15.0.2 tests 2022-10-19 15:57:39 -07:00
Amin Yahyaabadi 7903317d7d test: clean the llvm cache before installing llvm 15.0.2 2022-10-15 02:02:49 -07:00
Amin Yahyaabadi f4e3f220db fix: fix the llvm 15 link for linux + test the installation 2022-10-13 16:47:00 -07:00
Amin Yahyaabadi 41ac067e60 test: llvm 15.0.2 2022-10-12 11:47:40 -07:00
Amin Yahyaabadi 007a51ecba feat: support llvm 15 2022-10-11 15:21:04 -07:00
Amin Yahyaabadi 2c6bfca888 fix: import delimiter from path 2022-08-24 00:24:50 -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 647dc69eaf fix: use is-url-online instead of get-works
https://github.com/spa5k/is-url-online/pull/40
2022-08-09 00:13:35 -07:00
Amin Yahyaabadi 79eae5db23 feat: add ci-log package 2022-08-08 01:22:28 -07:00
Amin Yahyaabadi 4d3cf92471 feat: add get-works package to validate the URLs 2022-08-08 00:36:24 -07:00
Amin Yahyaabadi 0bbdeadfbd feat: use is-link-working to test the urls 2022-08-07 23:46:11 -07:00
Amin Yahyaabadi edc37d25c6 Revert "fix: use is-url-online to validate the download links"
This reverts commit 232af3c141.
2022-08-07 21:42:31 -07:00
Amin Yahyaabadi 232af3c141 fix: use is-url-online to validate the download links 2022-08-07 21:32:57 -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 c8cec57d18 fix: handle the promises in setupAptPack 2022-07-27 19:07:30 -07:00
Amin Yahyaabadi e77a1e12f0 fix: support up to llvm 14.0.6 2022-07-16 18:07:53 -07:00
Amin Yahyaabadi 1103890904 fix: check isUbuntu before using apt - fixes pip packages 2022-07-10 17:39:21 -07:00
Amin Yahyaabadi 45e4fd60f0 chore: rename isci to isCI 2022-07-10 16:11:32 -07:00
Amin Yahyaabadi cefca0b72e fix: update the alternatives only on ubuntu 2022-06-29 20:52:25 -07:00
Amin Yahyaabadi 7caf0ddff8 feat: add the cached isArch function 2022-06-29 19:06:33 -07:00
abeimler aecb4b3e29 feat: add pacman support (#31)
* add `setupPacmanPack`
* add arch linux docker image
* add container tests
2022-06-29 18:06:35 +02:00
Amin Yahyaabadi 5524077a0f fix: add cmath to the gcc and llvm tests 2022-05-20 18:15:50 -07:00
Amin Yahyaabadi 3526010570 fix: use double quote for LDFLAGS/CPPFLAGS 2022-05-17 13:19:04 -07:00
Amin Yahyaabadi 209bb28e11 fix: add the exe extension for CC/CXX 2022-05-12 18:42:49 -07:00
Amin Yahyaabadi c8f6527003 fix: add env variables in parallel for llvm and gcc 2022-05-12 18:39:47 -07:00
Amin Yahyaabadi a4e2df0c28 fix: fix the quoting of CPPFLAGS and LDFLAGS for pwsh 2022-05-12 17:31:41 -07:00
Amin Yahyaabadi 7e3e265a8a fix: make execPowershell async 2022-05-12 12:55:00 -07:00
Amin Yahyaabadi 1476cdd202 fix: quote CPPFLAGS and LDFLAGS instead of escaping 2022-05-11 17:21:28 -07:00
Amin Yahyaabadi 3eb3fc16a7 fix: only escape LDFLAGS and CPPFLAGS
This partially reverts 41d161c37f
2022-05-11 17:17:54 -07:00
Amin Yahyaabadi d8593e1dfc fix: do not set CPATH for clang on windows 2022-05-11 14:51:51 -07:00
Amin Yahyaabadi 22d47d9d3f test: disable linux llvm cache 2022-05-05 20:41:20 -07:00
Amin Yahyaabadi 20cc86b4f6 test: fix llvm cache finding on ubuntu 2022-05-05 20:04:10 -07:00
Amin Yahyaabadi 99f8d1aba8 feat: support ubuntu specific versions for llvm 2022-05-05 19:28:24 -07:00
Amin Yahyaabadi 6251144095 fix: get ubuntu version inside the main file 2022-05-05 17:11:42 -07:00
Amin Yahyaabadi d2eafaab01 fix: inline defaultLLVMVersion 2022-05-03 00:46:03 -07:00
Amin Yahyaabadi 8a16afc589 fix: warning for fallback to ubuntu max 2022-05-03 00:04:20 -07:00
Amin Yahyaabadi 05d55cbaa6 fix: select the default llvm version based on ubuntu version 2022-05-02 23:32:01 -07:00
Amin Yahyaabadi bd5d402bb9 fix: support llvm 14.0.2 and 14.0.3 2022-05-02 23:01:00 -07:00
Amin Yahyaabadi 07a74ebda9 fix: disable the missing llvm 14.0.1 for ubuntu 18.0.1 x86 2022-05-02 23:00:47 -07:00
Amin Yahyaabadi 154369fbb1 fix: enable llvm 14.0.1 support for ubuntu 2022-05-02 22:54:50 -07:00
Amin Yahyaabadi 682ca30420 fix: use utils/io instead of `@actions/core` 2022-05-02 21:53:16 -07:00
Amin Yahyaabadi 18f813f0d6 fix: make execaSudo and setupAptPack synchronous
apt is not thread-safe
2022-04-27 00:02:35 -07:00
Amin Yahyaabadi dc320cd781 feat: set apt alternatives when llvm is installed 2022-04-18 23:35:29 -07:00
Amin Yahyaabadi 22d43201d9 fix: default llvm to v14.0.0 2022-04-16 01:18:40 -07:00
Amin Yahyaabadi 09cdd6608c test: test the default versions in the tests 2022-04-16 00:54:37 -07:00
Amin Yahyaabadi 8d082cd438 fix: support llvm 14.0.1 2022-04-16 00:54:36 -07:00
Amin Yahyaabadi 3097e232cf feat: support llvm 14.0.0 2022-04-04 10:52:03 -07:00
Amin Yahyaabadi cd19cb3589 test: add spell checking 2022-03-11 17:50:11 -08:00
Amin Yahyaabadi 2d754debe8 fix: install the latest gcc for using llvm 2022-02-14 23:46:00 -08:00
Amin Yahyaabadi 9770308530 test: test compilation in the llvm and gcc tests 2022-02-14 23:29:14 -08:00
Amin Yahyaabadi 9700bb5f87 fix: fix setting CPATH 2022-02-14 22:04:47 -08:00
Amin Yahyaabadi 4c2c9d3660 fix: install libtinfo-dev for llvm on linux 2022-02-13 20:01:10 -08:00
Amin Yahyaabadi 32a17be32c feat: add llvm problem matchers 2022-02-11 17:57:05 -08:00
Amin Yahyaabadi c7acc73aa7 ci: pack exe before running the tests [skip ci test] 2022-01-30 19:01:34 -08:00
Amin Yahyaabadi eb3db26bf7 fix: use strip-components 0 in extractTarByExe 2022-01-30 18:36:25 -08: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 0db19fa5c2 fix: fix recovering llvm from cache 2022-01-29 16:14:55 -08:00
Amin Yahyaabadi 6d5a91c8fb feat: install clang-tidy and clang-format 2022-01-29 14:44:43 -08:00
Amin Yahyaabadi cbea9ec16b test: check CXX and CC variables in the tests 2022-01-29 12:50:20 -08:00
Amin Yahyaabadi 36cac945b8 fix: add build-essential as the dependency of llvm 2022-01-19 15:37:13 -08:00
Amin Yahyaabadi c6a5745cec fix: support adding environment variables on non GitHub Action 2022-01-17 18:30:02 -08:00
Amin Yahyaabadi 6b9b57b9a8 fix: coerce llvm version if not semver 2021-12-07 02:46:07 -06: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 97c5763d5d fix: add llvm 13 support 2021-11-21 11:33:32 -06:00
Amin Yahyaabadi dabdff585f fix: refactor setupMacOSSDK 2021-11-21 11:06:16 -06:00
Amin Yahyaabadi 770429f88c fix: do not setup cpath on windows 2021-11-21 11:03:08 -06:00
Amin Yahyaabadi 3dd8e43133 fix: use setupCppDir inside setupLLVM 2021-09-20 07:14:15 -05:00
Amin Yahyaabadi b9ce5945b7 feat: add activateLLVM 2021-09-20 07:10:40 -05:00
Amin Yahyaabadi ca064b68e0 test: increase timeout of the tests 2021-09-17 04:50:12 -05:00
Amin Yahyaabadi 596c9438b5 test: use testBin in all the tests 2021-09-16 10:17:25 -05:00
Amin Yahyaabadi 39993729df feat: support gcc/mingw 2021-09-16 09:03:54 -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 7fdcafd805 fix: set the sdk to macosx 2021-09-16 02:57:20 -05:00
Amin Yahyaabadi 16b25286f9 feat: support setting up llvm as the compiler 2021-09-16 02:51:41 -05:00
Amin Yahyaabadi 088b9ab277 test: fix the llvm test 2021-09-15 04:02:43 -05:00
Amin Yahyaabadi de191063e3 refactor: getSpecificVersionAndUrl 2021-09-15 02:42:12 -05:00
Amin Yahyaabadi fb4b68daca fix: increase test timeout 2021-09-15 02:37:42 -05:00
Amin Yahyaabadi db46f34a80 refactor: getSpecificVersions and getVersions 2021-09-15 02:37:34 -05:00
Amin Yahyaabadi 8c32267eea refactor: add extract module to the utils
Update extract.ts
2021-09-15 02:37:33 -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