Commit Graph

795 Commits

Author SHA1 Message Date
Amin Yahyaabadi 0d99c85e65 fix: do not assume that CI (e.g. Docker) is root 2022-08-07 17:31:51 -07:00
Amin Yahyaabadi 2cdfbab204 fix: do not cache isSudo 2022-08-07 17:31:14 -07:00
Amin Yahyaabadi 860880c69a feat: add isRoot function in addition to isSudo 2022-08-07 17:30:14 -07:00
Amin Yahyaabadi bf519e6b3d fix: rename execSudo to execRoot and isRoot to isSudo 2022-08-07 17:29:05 -07:00
Amin Yahyaabadi 299694053d fix: use sudo-tools in setup-cpp 2022-08-07 17:24:44 -07:00
Amin Yahyaabadi fe2db9dd25 feat: add sudo-tools package 2022-08-07 17:18:49 -07:00
Amin Yahyaabadi 4c866cd807 fix: use exec-powershell in setup-cpp 2022-08-07 17:05:55 -07:00
Amin Yahyaabadi 46635fc18e feat: add exec-powershell package 2022-08-07 16:59:24 -07:00
Amin Yahyaabadi 2b1515ae6b
ci: fix the cache keys [skip ci] 2022-08-03 23:09:17 -07:00
Amin Yahyaabadi 42f904a321 chore: do not aggregate output for the tests 2022-08-02 15:52:05 -07:00
Amin Yahyaabadi 17e6b96b64 chore: organize the lint scripts 2022-08-02 13:12:42 -07:00
Amin Yahyaabadi 97b033e471 chore: add cache for eslint 2022-08-02 13:01:42 -07:00
Amin Yahyaabadi 4cb3b55b11 chore: update dependencies 2022-08-02 12:57:22 -07:00
Amin Yahyaabadi 9e4fa5b438 chore: rename the action for better search-ability [skip ci] 2022-08-02 12:53:07 -07:00
Amin Yahyaabadi 7bbb94baa2 chore: v0.19.0 [skip ci] 2022-07-27 21:29:37 -07:00
Amin Yahyaabadi 322f0819ba
Merge pull request #112 from aminya/bazel [skip ci] 2022-07-27 21:28:30 -07:00
Amin Yahyaabadi 41af5a7f7c fix: install bazelisk on windows/macos instead of bazel 2022-07-27 21:05:59 -07:00
Amin Yahyaabadi 9da09a7595 fix: init gpg before adding the keys 2022-07-27 20:30:15 -07:00
Amin Yahyaabadi fb111ffcf1 fix: fix the nala source list 2022-07-27 20:27:12 -07:00
Amin Yahyaabadi d204be83ac feat: support add apt key via download or from a server 2022-07-27 20:14:37 -07:00
Amin Yahyaabadi 5183c0d6d4 feat: support installing Bazel 2022-07-27 19:32:33 -07:00
Amin Yahyaabadi c8cec57d18 fix: handle the promises in setupAptPack 2022-07-27 19:07:30 -07:00
Amin Yahyaabadi a9e484f19f
Merge pull request #107 from aminya/kcov [skip ci] 2022-07-27 18:58:10 -07:00
Amin Yahyaabadi de92c65463 fix: fix the kcov build + use ninja for faster build 2022-07-27 18:45:26 -07:00
Amin Yahyaabadi f61dd0e6b8 fix: fix the kcov binDir 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 4d96d91b82 fix: do not install kcov globally 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 57de2d5de2 fix: use the returned binDir from extractFunction 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi d5d332b54c fix: fix the kcov download link 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi c1033204f2 fix: skip kcov on non linux 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 45eb099dc6 fix: use the cmake install path as the kcov bin path 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 43d199d290 fix: fix the kcov download link 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 15070ee637 fix: build or download kcov binary based on the ubuntu version 2022-07-27 18:43:00 -07:00
Amin Yahyaabadi 8fb789d7c1
Merge pull request #110 from aminya/space-name [skip ci] 2022-07-27 18:42:20 -07:00
Amin Yahyaabadi d195a02a1d fix: use gpg instead of apt-key 2022-07-27 18:10:40 -07:00
Amin Yahyaabadi 2915ec8f01 fix: enable UTF8 only once for nala 2022-07-27 17:51:13 -07:00
Amin Yahyaabadi 0cedb62c7b fix: quote the path in addEnv on Unix 2022-07-27 17:44:51 -07:00
Amin Yahyaabadi 79079b96ca
Merge pull request #108 from aminya/nala [skip ci]
fix: support using nala instead of apt
2022-07-27 17:39:12 -07:00
Amin Yahyaabadi 17fa293627 fix: make nala optional 2022-07-27 17:36:18 -07:00
Amin Yahyaabadi e4001f3bb1 fix: add UTF-8 to the env if nala is used 2022-07-27 17:22:43 -07:00
Amin Yahyaabadi 71cdb28b79 fix: enable UTF8 for nala 2022-07-27 17:20:33 -07:00
Amin Yahyaabadi 4e84885253 fix: update apt only if the number of repositories is not 0 2022-07-27 16:49:25 -07:00
Amin Yahyaabadi e5c77ec118 fix: fallback to nala-legacy if nala itself fails 2022-07-27 16:47:55 -07:00
Amin Yahyaabadi 36734c34c3 fix: first add the key before adding the nala repository 2022-07-27 16:38:10 -07:00
Amin Yahyaabadi 7a90ebc5a0 fix: disable auto nala installation 2022-07-27 16:33:47 -07:00
Amin Yahyaabadi ba21b207ac fix: ignore the error of apt-key addition 2022-07-27 16:18:39 -07:00
Amin Yahyaabadi 377be6c0a6 fix: skip installing nala if it fails 2022-07-27 16:14:56 -07:00
Amin Yahyaabadi 9f78cc758b fix: fix nala update arguments 2022-07-27 16:06:34 -07:00
Amin Yahyaabadi b96f1ee859 fix: add the key before calling apt 2022-07-27 15:57:13 -07:00
Amin Yahyaabadi 2771f17356 fix: add apt key for nala 2022-07-27 15:56:47 -07:00
Amin Yahyaabadi d6513160ef fix: remove internal sudo from execSudo 2022-07-27 15:56:45 -07:00