Commit Graph

1417 Commits

Author SHA1 Message Date
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 b263e7930c chore: add readme about running the tool locally 2021-09-17 13:24:17 -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 c4e699eee8 docs: simplify the example [skip ci] 2021-09-17 10:48:09 -05:00
Amin Yahyaabadi 74cd8eb948 docs: add a github actions example to the readme [skip ci] 2021-09-17 10:27:08 -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 298e01717d build: add dist files 2021-09-17 06:35:55 -05:00
Amin Yahyaabadi 5e6cf5d519 fix: catch msvc installation bugs 2021-09-17 06:35:55 -05:00
Amin Yahyaabadi 4285e7bb04 chore: fix readme 2021-09-17 06:35:55 -05:00
Amin Yahyaabadi fa26938fb4
Merge pull request #2 from aminya/msvc-fix 2021-09-17 06:16:20 -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
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 cac52d79f7 fix: use exec from actions/exec instead of child_process
Also return undefined instead of void
2021-09-16 16:12:29 -05:00
Amin Yahyaabadi 1bafb63779 Revert "fix: use sudo for pip if available"
This reverts commit cd775009da.
2021-09-16 15:52:45 -05:00
Amin Yahyaabadi cd775009da fix: use sudo for pip if available 2021-09-16 15:33:30 -05:00
Amin Yahyaabadi 53b53fef98 fix: fix finding python path 2021-09-16 15:33:13 -05:00
Amin Yahyaabadi 8a1490eabe fix: use \n in the python command 2021-09-16 15:16:12 -05:00
Amin Yahyaabadi a9e63280c3 fix: check if mingw paths exists 2021-09-16 15:13:55 -05:00
Amin Yahyaabadi 28f7f1fb27 fix: fix binDir for choco 2021-09-16 15:08:54 -05:00
Amin Yahyaabadi a6648a2296 fix: fix brew path 2021-09-16 14:54:04 -05:00
Amin Yahyaabadi 5993d7b019 fix: use core.info instead of startGroup 2021-09-16 14:49:06 -05:00
Amin Yahyaabadi 5e61cbc438 fix: add the correct cache to the path 2021-09-16 14:40:29 -05:00