Commit Graph

264 Commits

Author SHA1 Message Date
Amin Yahyaabadi 313d3ece41 fix: do not pass args to msvc choco 2021-12-06 03:48:51 -06:00
Amin Yahyaabadi a381fc0e98 fix: specify the toolset 2021-12-05 09:13:58 -06:00
Amin Yahyaabadi 73ec89a099 test: test all the msvc version installations 2021-12-05 09:04:54 -06:00
Amin Yahyaabadi 1d04cc2855 fix: update the msvc packages and disable variables 2021-12-05 08:54:01 -06:00
Amin Yahyaabadi f19c776f46 feat: add a separate vcvarsall 2021-12-05 08:51:12 -06:00
Amin Yahyaabadi 902069de32 chore: use npm to install repositories instead of git modules 2021-12-05 08:16:28 -06:00
Amin Yahyaabadi 7d0cc67ac7 Revert "fix: update execa"
This reverts commit 12fe81ac31.
2021-12-01 04:26:05 -06:00
Amin Yahyaabadi 12fe81ac31 fix: update execa 2021-12-01 04:21:51 -06:00
Amin Yahyaabadi 2c56d7e32f fix: disable msvc installation in CI temporarily 2021-11-23 01:36:57 -06:00
Amin Yahyaabadi 991ce56d70 fix: fix the matchers path for python 2021-11-21 16:57:26 -06:00
Amin Yahyaabadi bd2585f331 fix: fix version extraction from the compiler input 2021-11-21 16:40:30 -06:00
Amin Yahyaabadi 2d4c04a0f7 fix: lazy-load setupActionsPython 2021-11-21 16:22:27 -06:00
Amin Yahyaabadi 0b3d2fafa3 v0.3.0 2021-11-21 14:20:51 -06:00
Amin Yahyaabadi 96346084ca fix: fix finding bin file in the cache 2021-11-21 14:05:50 -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 722630db75 fix: add addShellHere to fix sh finding ./file 2021-11-21 12:21:36 -06:00
Amin Yahyaabadi 471fe29694 fix: update the default versions of the tools 2021-11-21 12:02:28 -06:00
Amin Yahyaabadi 16fc84f503 fix: remove ./ for cmd 2021-11-21 11:47:05 -06:00
Amin Yahyaabadi 7842bdf483 fix: fix vcpkg path 2021-11-21 11:38:36 -06:00
Amin Yahyaabadi 97c5763d5d fix: add llvm 13 support 2021-11-21 11:33:32 -06:00
Amin Yahyaabadi fca9be5e81 fix: fix the vcpkg shell extension 2021-11-21 11:33:28 -06:00
Amin Yahyaabadi 0c29f0b7a3 fix: enable shell for vcpkg bootstrap 2021-11-21 11:29:30 -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 2c34e1795b fix: use untildify to get ~/vcpkg 2021-11-21 11:00:54 -06:00
Amin Yahyaabadi 08d77f1fd1 feat: add vcpkg 2021-11-21 10:53:03 -06:00
Amin Yahyaabadi 07b2187049 fix: add message about restarting the shell 2021-09-29 19:51:50 -05:00
Amin Yahyaabadi 0712d6f19e feat: add activateWinPython [skip ci] 2021-09-20 07:35:17 -05:00
Amin Yahyaabadi cd02056faf feat: add activateWinDoxygen 2021-09-20 07:31:40 -05:00
Amin Yahyaabadi 3640522fa1 feat: add activateWinCppcheck 2021-09-20 07:31:05 -05:00
Amin Yahyaabadi e5d7c702c7 feat: add activateOpencppcoverage 2021-09-20 07:30:10 -05:00
Amin Yahyaabadi dcedb6e575 feat: refactor activateMSVC 2021-09-20 07:29:09 -05:00
Amin Yahyaabadi b7eaefbab7 feat: add activateGcc 2021-09-20 07:26:50 -05:00
Amin Yahyaabadi 44478af66e refactor: separate setupActionsPython 2021-09-20 07:26:46 -05: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 e12cd9ca9c fix: disable graphviz on windows 2021-09-19 04:55:54 -05:00
Amin Yahyaabadi 9b38d106c8 fix: make addPath sync 2021-09-19 03:49:42 -05:00
Amin Yahyaabadi 418fa80b65 fix: only cache if in ci 2021-09-18 11:27:15 -05:00
Amin Yahyaabadi d81b44b112 fix: try-catch adding path using system 2021-09-18 10:39:13 -05:00
Amin Yahyaabadi d749362c4e fix: use python 3.9.7 2021-09-18 09:16:07 -05:00
Amin Yahyaabadi 520073832d fix: use gcc 11 on windows 2021-09-18 09:01:36 -05:00
Amin Yahyaabadi 3dbece7c6d fix: fix llvm version 2021-09-18 09:01:26 -05:00
Amin Yahyaabadi e898202dcc fix: check if sudo is installed 2021-09-18 08:54:42 -05:00
Amin Yahyaabadi c9b478842d fix: fix execaSudo 2021-09-18 08:51:24 -05:00
Amin Yahyaabadi 51da3adc7b fix: add execaSudo 2021-09-18 08:43:36 -05:00
Amin Yahyaabadi 15b1b24116 fix: do not use version for system python 2021-09-18 08:35:41 -05:00
Amin Yahyaabadi c1a994e5bd fix: fix matchersPath 2021-09-18 08:35:26 -05:00
Amin Yahyaabadi a0e33e0466 fix: fix isCI 2021-09-18 08:35:26 -05:00
Amin Yahyaabadi bfd6260fca refactor: success and error functions 2021-09-18 08:21:22 -05:00
Amin Yahyaabadi 9bef371233 fix: use execa instead of cross-spawn and @action/exec 2021-09-18 08:13:23 -05:00
Amin Yahyaabadi a70ed6421c fix: report the error reason 2021-09-18 08:09:08 -05:00
Amin Yahyaabadi d7f2e680b4 fix: use system python installation on non-ci 2021-09-18 07:50:31 -05:00
Amin Yahyaabadi 7e5fac5146 perf: install the compiler after installing the tools 2021-09-18 07:44:12 -05:00
Amin Yahyaabadi ec62f654e0 fix: change the tool installation order 2021-09-18 07:41:02 -05:00
Amin Yahyaabadi d941917c7a fix: add fallback for python installation 2021-09-18 07:39:59 -05:00
Amin Yahyaabadi 0dca6ef345 fix: await addPath 2021-09-18 07:30:16 -05:00
Amin Yahyaabadi a4f327ad7e fix: enable adding paths using commands outside of the ci
enable ACTIONS_ALLOW_UNSECURE_COMMANDS inside docker build
2021-09-18 07:24:04 -05:00
Amin Yahyaabadi a778f9bfce fix: add native fallback for addPath 2021-09-18 06:28:04 -05:00
Amin Yahyaabadi 882d0f7013 feat: catch the addPath failure 2021-09-17 21:17:21 -05:00
Amin Yahyaabadi 87beee7e7d fix: add RUNNER_TOOL_CACHE 2021-09-17 16:19:29 -05:00
Amin Yahyaabadi 3461b7cbce fix: use exec for apt 2021-09-17 15:19:58 -05:00
Amin Yahyaabadi b61c16aa45 Revert "fix: fix cross-spawn exit codes"
This reverts commit 1a81d4edde.
2021-09-17 15:19:32 -05:00
Amin Yahyaabadi 03dfa71def fix: add -y to apt 2021-09-17 15:13:41 -05:00
Amin Yahyaabadi 1a81d4edde fix: fix cross-spawn exit codes 2021-09-17 15:08:19 -05:00
Amin Yahyaabadi 1a1befa1c9 fix: add colors to cli 2021-09-17 15:00:26 -05:00
Amin Yahyaabadi da284e010c fix: use md5 for hashing the installation path 2021-09-17 14:02:47 -05:00
Amin Yahyaabadi 801ebf86b8 fix: untildify the installation path 2021-09-17 13:54:30 -05:00
Amin Yahyaabadi 21b816c605 fix: catch the failure in setupBin 2021-09-17 13:51:29 -05:00
Amin Yahyaabadi 5cffd3930a fix: use cross-spawn instead of @actions/exec
to support color and inputs
2021-09-17 13:44:24 -05:00
Amin Yahyaabadi 8a23537c88 fix: rename the executable 2021-09-17 13:19:10 -05:00
Amin Yahyaabadi 3ea0053fe7 fix: lazy load the external actions 2021-09-17 13:12:48 -05:00
Amin Yahyaabadi d028e18862 feat: add --help for the cli 2021-09-17 13:09:00 -05:00
Amin Yahyaabadi c654c9880c feat: support using setup-cpp from CLI 2021-09-17 12:51:59 -05:00
Amin Yahyaabadi 736836f507 chore: improve the types for setups and tools 2021-09-17 12:12:33 -05:00
Amin Yahyaabadi e9b7d582e2 feat: report the status of the installation in the end 2021-09-17 07:43:01 -05:00
Amin Yahyaabadi 5e6cf5d519 fix: catch msvc installation bugs 2021-09-17 06:35:55 -05:00
Amin Yahyaabadi ed2713efc5 fix: quote the arguments 2021-09-17 06:04:38 -05:00
Amin Yahyaabadi 3f0939b85c fix: use --add to add msvc workloads
https://github.com/jberezanski/ChocolateyPackages/blob/master/chocolatey-visualstudio.extension/EXAMPLES.md#add-the-data-workload-to-all-installed-vs-2017-communityprofessionalenterprise-instances-downloading-needed-files-from-the-internet-only-required-components-webdeploy-and-the-visualstudiodata-component-will-be-added
2021-09-17 05:53:39 -05:00
Amin Yahyaabadi 24f8038744 fix: fix the toolset versions for vs2017 and vs2019
https://github.com/jberezanski/ChocolateyPackages/issues/117#issuecomment-921071306
2021-09-17 05:39:05 -05:00
Amin Yahyaabadi e9a591d9d4 fix: gcc path on windows 2021-09-17 05:28:57 -05:00
Amin Yahyaabadi 09a5e16c4f test: use cross-spawn in the tests 2021-09-17 05:28:57 -05:00
Amin Yahyaabadi 00f3a11471 perf: install graphviz after doxygen 2021-09-17 05:17:21 -05:00
Amin Yahyaabadi 998539ef66 fix: fix choco path when already installed 2021-09-17 05:15:52 -05:00
Amin Yahyaabadi 6333bf6bfa test: fix OpenCppCoverage path test 2021-09-17 05:13:37 -05:00
Amin Yahyaabadi abb5917b83 test: do not spawn OpenCppCoverage due to its non-zero exit codes 2021-09-17 05:06:14 -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 a8477cb234 test: escape path in the exec in the test 2021-09-17 04:49:13 -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 d452c39ca0 fix: fix brew path 2021-09-16 18:13:44 -05:00
Amin Yahyaabadi b964951e50 fix: coerce semver before taking the major 2021-09-16 18:02:18 -05:00
Amin Yahyaabadi 48779980ad fix: fix apt version handling to fix gcc 2021-09-16 17:56:35 -05:00
Amin Yahyaabadi 6dade5cb0c fix: update repositories independent of add-apt-repository 2021-09-16 17:50:19 -05:00
Amin Yahyaabadi 6925e1f02c fix: fix choco path 2021-09-16 17:44:13 -05:00
Amin Yahyaabadi df6ee47b06 fix: trim the python output 2021-09-16 17:39:30 -05:00
Amin Yahyaabadi 3c2eaf1f4d test: test proces.arch 2021-09-16 17:36:31 -05:00