Commit Graph

143 Commits

Author SHA1 Message Date
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
Amin Yahyaabadi 22ae571908 fix: fix llvm extraction on non windows 2021-09-14 10:06:36 -05:00
Amin Yahyaabadi 5f56aa2e49 test: add tests for llvm installation 2021-09-14 10:00:59 -05:00
Amin Yahyaabadi 096cd4150c fix: fix llvm extraction on windows 2021-09-14 10:00:30 -05:00
Amin Yahyaabadi 5be5e74675 fix: return installation info in setupLLVM 2021-09-14 09:37:40 -05:00
Amin Yahyaabadi 9bf59efb6c fix: use setup bin for llvm installation 2021-09-14 08:50:26 -05:00
Amin Yahyaabadi e5bc00a601 fix: fallback to older versions in case of http error 2021-09-14 07:58:24 -05:00
Amin Yahyaabadi 88920a2a1a fix: fix llvm 5.0.0 on ubuntu 2021-09-14 07:48:57 -05:00
Amin Yahyaabadi 3ee98813ad fix: fix llvm 8 on ubuntu 2021-09-14 07:40:23 -05:00
Amin Yahyaabadi 46cc30329b fix: support llvm 8 and 7 for windows 2021-09-14 07:34:14 -05:00
Amin Yahyaabadi f4939bc8e2 fix: support llvm 5 and older on ubuntu 2021-09-14 07:14:44 -05:00
Amin Yahyaabadi 9e223dad3f feat: add llvm installer 2021-09-14 07:08:00 -05:00