Commit Graph

126 Commits

Author SHA1 Message Date
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 66a38eb0fb fix: fix getting the brew path on linux 2022-11-20 21:26:31 -08:00
Amin Yahyaabadi fd436d2ed1 test: pass the ubuntu version in gcc tests 2022-11-20 17:51:40 -08:00
Amin Yahyaabadi 8481486746 feat: add mingw 12.2 2022-11-20 16:25:37 -08: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 793704eefd fix: update mingw 12 msvcrt
https://github.com/brechtsanders/winlibs_mingw/releases/tag/12.1.0-14.0.6-10.0.0-msvcrt-r3
2022-08-08 11:50:49 -07:00
Amin Yahyaabadi 79eae5db23 feat: add ci-log package 2022-08-08 01:22:28 -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 834fea83ec fix: fix llvm/gcc installation on dnf 2022-07-10 18:57:45 -07:00
Amin Yahyaabadi 1103890904 fix: check isUbuntu before using apt - fixes pip packages 2022-07-10 17:39:21 -07:00
Amin Yahyaabadi e8d2cb09a2 feat: support installing system packages using dnf package manager 2022-07-10 16:34:56 -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 dc967fb60a fix: update the mingw 12 release 2022-06-09 12:02:41 -07:00
Amin Yahyaabadi 5524077a0f fix: add cmath to the gcc and llvm tests 2022-05-20 18:15:50 -07:00
Amin Yahyaabadi 97b65fabfc test: fix the mingw setupDir 2022-05-20 17:07:25 -07:00
Amin Yahyaabadi c667a3fe8e fix: change MingwInfo to have releaseName and fileSuffix 2022-05-20 16:28:35 -07:00
Amin Yahyaabadi d24850cd0e feat: directly download mingw binaries on Windows 2022-05-20 15:58:11 -07:00
Amin Yahyaabadi bdff7f7943 refactor: add setupChocoMingw 2022-05-20 15:19:19 -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 7e3e265a8a fix: make execPowershell async 2022-05-12 12:55:00 -07:00
Amin Yahyaabadi 69b7a71f02 fix: do not add xenial toolchain 2022-05-02 22:12:53 -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 91f233cd92 fix: set gcc/g++ apt alternative when gcc is installed 2022-04-24 18:13:39 -07:00
Amin Yahyaabadi dea371a1d9 feat: set apt alternatives when gcc is installed 2022-04-18 23:35:33 -07:00
Amin Yahyaabadi 1dd373a360 chore: update devDependencies 2022-03-11 17:32:28 -08:00
Amin Yahyaabadi 1af7af9c53 chore: move addPath function 2022-02-28 21:54:49 -08:00
Amin Yahyaabadi 76832b81a5 fix: add keys to keyserver for installing gcc 2022-02-15 00:08:24 -08:00
Amin Yahyaabadi 9770308530 test: test compilation in the llvm and gcc tests 2022-02-14 23:29:14 -08:00
Amin Yahyaabadi fa6c45744a chore: update matcher names [skip ci] 2022-02-11 17:04:02 -08:00
Amin Yahyaabadi b3eda4ff33 feat: add logging integration for msvc, gcc, python 2022-02-11 17:00:12 -08:00
Amin Yahyaabadi b43302cf75 fix: use ChocolateyInstall for gcc installation path on Windows 2022-01-30 17:49:30 -08:00
Amin Yahyaabadi cbea9ec16b test: check CXX and CC variables in the tests 2022-01-29 12:50:20 -08:00
Amin Yahyaabadi d98deda888 fix: fix eslint warnings 2022-01-22 17:41:18 -08:00
Amin Yahyaabadi c6a5745cec fix: support adding environment variables on non GitHub Action 2022-01-17 18:30:02 -08:00
Amin Yahyaabadi 90a15f5705 fix: fix old gcc ppa 2021-12-07 14:16:22 -06:00
Amin Yahyaabadi 95c8ebb90c fix: quote in execaSudo 2021-12-07 13:37:01 -06:00
Amin Yahyaabadi 514055a583 test: increase gcc installation timeout 2021-12-07 07:45:29 -06:00
Amin Yahyaabadi 9d3670c0fb fix: support activation of old gcc 2021-12-07 06:16:31 -06:00
Amin Yahyaabadi acba1ad74a fix: quote the deb ppa 2021-12-07 03:04:42 -06:00
Amin Yahyaabadi dd4a80b89b fix: add dk.archive.ubuntu.com/ubuntu/ xenia ppas for gcc 2021-12-07 02:53:22 -06:00
Amin Yahyaabadi c6eb5ca89b feat: change the installation directory to ~/tool
BREAKING CHANGE
2021-11-21 12:53:27 -06:00
Amin Yahyaabadi dabdff585f fix: refactor setupMacOSSDK 2021-11-21 11:06:16 -06:00
Amin Yahyaabadi b7eaefbab7 feat: add activateGcc 2021-09-20 07:26:50 -05:00
Amin Yahyaabadi 9b38d106c8 fix: make addPath sync 2021-09-19 03:49:42 -05:00
Amin Yahyaabadi 0dca6ef345 fix: await addPath 2021-09-18 07:30:16 -05:00
Amin Yahyaabadi 882d0f7013 feat: catch the addPath failure 2021-09-17 21:17:21 -05:00
Amin Yahyaabadi e9a591d9d4 fix: gcc path on windows 2021-09-17 05:28:57 -05:00
Amin Yahyaabadi 78ad81e393 fix: fix gcc on windows 2021-09-17 04:55:20 -05:00
Amin Yahyaabadi ca064b68e0 test: increase timeout of the tests 2021-09-17 04:50:12 -05:00
Amin Yahyaabadi bf456808b6 fix: use / instead of \\ on windows 2021-09-16 18:26:57 -05:00
Amin Yahyaabadi 24734937d9 fix: use gcc 10 on windows 2021-09-16 18:21:11 -05:00
Amin Yahyaabadi 7c06eab367 test: fix g++ test 2021-09-16 18:15:25 -05:00
Amin Yahyaabadi b964951e50 fix: coerce semver before taking the major 2021-09-16 18:02:18 -05:00
Amin Yahyaabadi 3c2eaf1f4d test: test proces.arch 2021-09-16 17:36:31 -05:00
Amin Yahyaabadi 7492e96c57 fix: use gcc 11 instead of 11.2.0
brew fails with 11.2.0

Update gcc.test.ts
2021-09-16 17:36:18 -05:00
Amin Yahyaabadi 6ef4a34ada fix: add message for gcc-multilib 2021-09-16 17:28:23 -05:00
Amin Yahyaabadi 2c79ba1c6a fix: fix else gcc multilib 2021-09-16 17:00:14 -05:00
Amin Yahyaabadi f5bfb821d1 fix: set the environment variables for gcc 2021-09-16 16:54:18 -05:00
Amin Yahyaabadi a9e63280c3 fix: check if mingw paths exists 2021-09-16 15:13:55 -05:00
Amin Yahyaabadi c77dfe5251 fix: fix gcc path on windows 2021-09-16 14:03:49 -05:00
Amin Yahyaabadi 8e56d264af fix: return default installation directory for apt and brew 2021-09-16 10:58:22 -05:00
Amin Yahyaabadi 596c9438b5 test: use testBin in all the tests 2021-09-16 10:17:25 -05:00
Amin Yahyaabadi dc5ab1bf50 test: fix gcc test 2021-09-16 09:56:49 -05:00
Amin Yahyaabadi c61f0e5307 fix: add cppcheck, doxygen, and mingw to PATH on windows 2021-09-16 09:19:56 -05:00
Amin Yahyaabadi 39993729df feat: support gcc/mingw 2021-09-16 09:03:54 -05:00