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 |
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 |
Amin Yahyaabadi
|
0705a52b46
|
test: simplify cmake test
|
2021-09-16 14:38:52 -05:00 |
Amin Yahyaabadi
|
b492a11246
|
fix: opencppcoverage path on windows
|
2021-09-16 14:03:49 -05:00 |
Amin Yahyaabadi
|
c77dfe5251
|
fix: fix gcc path on windows
|
2021-09-16 14:03:49 -05:00 |
Amin Yahyaabadi
|
7d6d5df459
|
fix: fix doxygen path on windows
|
2021-09-16 14:03:49 -05:00 |
Amin Yahyaabadi
|
3284f1f1f9
|
fix: fix cppcheck path on windows
|
2021-09-16 14:03:49 -05:00 |
Amin Yahyaabadi
|
1c9ab5ba6f
|
fix: fix choco path
|
2021-09-16 14:03:49 -05:00 |
Amin Yahyaabadi
|
e6a4d529fc
|
fix: return the installInfo object from setupPipPack
|
2021-09-16 11:54:36 -05:00 |
Amin Yahyaabadi
|
ecb7cdd120
|
fix: fix pip installation path for macos and windows
|
2021-09-16 11:49:09 -05:00 |
Amin Yahyaabadi
|
bf63dd58d3
|
fix: return installation directory for pip packages
|
2021-09-16 11:14:08 -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
|
dde8036194
|
feat: add which test to testBin
|
2021-09-16 10:07:14 -05:00 |
Amin Yahyaabadi
|
dc5ab1bf50
|
test: fix gcc test
|
2021-09-16 09:56:49 -05:00 |
Amin Yahyaabadi
|
ae4c6ebf2f
|
fix: fix choco versions
|
2021-09-16 09:31:25 -05:00 |
Amin Yahyaabadi
|
c44a193e6a
|
test: skip the msvc test for now
|
2021-09-16 09:21:45 -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 |
Amin Yahyaabadi
|
cf3dbb2b16
|
feat: add support for adding repositories to apt
|
2021-09-16 08:38:38 -05:00 |
Amin Yahyaabadi
|
8ab3e55ee8
|
feat: add sudo utils
|
2021-09-16 08:36:29 -05:00 |
Amin Yahyaabadi
|
9702fd9926
|
fix: fix for version === ""
|
2021-09-16 07:15:17 -05:00 |
Amin Yahyaabadi
|
7f9c5687d2
|
fix: add default version for conan [skip ci]
|
2021-09-16 07:13:30 -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
|
a970eb0e44
|
feat: add default version registry
|
2021-09-16 06:36:35 -05:00 |
Amin Yahyaabadi
|
b55bf22468
|
feat: add default version for msvc
|
2021-09-16 06:17:38 -05:00 |
Amin Yahyaabadi
|
04b70139f6
|
feat: move the default versions to the functions themselves
|
2021-09-16 06:14:06 -05:00 |
Amin Yahyaabadi
|
191a15123c
|
feat: add compiler input
|
2021-09-16 06:07:52 -05:00 |
Amin Yahyaabadi
|
841f079886
|
fix: install brew synchronously
|
2021-09-16 04:28:33 -05:00 |
Amin Yahyaabadi
|
eaec708616
|
fix: make brew synchronous
|
2021-09-16 04:20:30 -05:00 |
Amin Yahyaabadi
|
edbc293b98
|
fix: use sudo if available on linux
|
2021-09-16 04:08:10 -05:00 |
Amin Yahyaabadi
|
c6aac2897f
|
fix: return on msvc installation for other os
|
2021-09-16 04:07:57 -05:00 |
Amin Yahyaabadi
|
b4cb25de20
|
fix: do not care about the case of the inputs
|
2021-09-16 03:51:09 -05:00 |
Amin Yahyaabadi
|
ea280dfd67
|
feat: add opencppcoverage
|
2021-09-16 03:49:25 -05:00 |
Amin Yahyaabadi
|
c8b9b73c4e
|
feat: add doxygen - fix cppcheck
|
2021-09-16 03:47:47 -05:00 |
Amin Yahyaabadi
|
10883e7f0e
|
feat: add ccache
|
2021-09-16 03:43:16 -05:00 |
Amin Yahyaabadi
|
a614cdbf27
|
feat: add cppcheck
|
2021-09-16 03:30:47 -05:00 |
Amin Yahyaabadi
|
7957d7f52a
|
feat: add setupBrew
|
2021-09-16 03:26:53 -05:00 |
Amin Yahyaabadi
|
1cad859704
|
feat: add setupBrewPack
|
2021-09-16 03:21:04 -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
|
2761be4b10
|
fix: set VCTargetsPath
|
2021-09-15 06:22:24 -05:00 |
Amin Yahyaabadi
|
8555309081
|
fix: add -y to choco installations
|
2021-09-15 05:56:02 -05:00 |
Amin Yahyaabadi
|
3702106240
|
fix: visualstudio2017buildtools
|
2021-09-15 05:36:08 -05:00 |
Amin Yahyaabadi
|
b302dc3e25
|
feat: add msvc installation
|
2021-09-15 05:25:02 -05:00 |
Amin Yahyaabadi
|
723f5c82ff
|
fix: fix semver regex match
|
2021-09-15 04:02:43 -05:00 |
Amin Yahyaabadi
|
088b9ab277
|
test: fix the llvm test
|
2021-09-15 04:02:43 -05:00 |
Amin Yahyaabadi
|
9e16dda2d6
|
perf: cache apt-get update
|
2021-09-15 04:02:43 -05:00 |