Commit Graph

118 Commits

Author SHA1 Message Date
Amin Yahyaabadi 36a5b861ce feat: fallback to version-less package on arch if not found 2023-05-24 14:12:42 -07:00
Amin Yahyaabadi 00c09d28e6 fix: update path-exists 2023-04-23 01:09:38 -07:00
Amin Yahyaabadi 7052a18b1c Merge branch 'master' into esm 2023-04-23 01:03:19 -07:00
Amin Yahyaabadi ea04bfe6af fix: replace npmcli/ci-detect with ci-info 2023-04-22 02:31:04 -07:00
Amin Yahyaabadi d713a6703d fix: update execa 2023-04-22 02:19:33 -07:00
Amin Yahyaabadi 7b993ab70d fix: update setup-python and other deps 2023-04-21 11:38:35 -07:00
Amin Yahyaabadi 477360fbee fix: rename the executable to `setup-cpp.js`
BREAKING CHANGE the executable is now `setup-cpp.js`
2023-01-17 21:40:21 -08:00
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 bd7b54ade4 perf: install LLVM and GCC in parallel 2022-11-08 15:51:15 -08:00
Amin Yahyaabadi 04867b97c5 fix: use which if the pip package executable was not found 2022-11-04 19:56:07 -07:00
Amin Yahyaabadi e376f26cd2 fix: choose the python binary directory based on the existence 2022-11-04 19:04:04 -07:00
Amin Yahyaabadi 0f4b1a6238 fix: add the python Scripts/bin path to the path for linux 2022-11-04 16:03:42 -07:00
Amin Yahyaabadi 46f6568a2e fix: add the bin directory in python base exec prefix to the PATH 2022-11-04 15:40:46 -07:00
Amin Yahyaabadi e9be714c29 fix: refactor setupPythonAndPip function 2022-11-04 15:01:13 -07:00
Amin Yahyaabadi 623216a193 fix: handle the MacOS/Linux exec prefix paths 2022-11-04 14:53:28 -07:00
Amin Yahyaabadi 2dde08dd51 fix: add the python base_exec_prefix path for all OS 2022-11-04 13:57:52 -07:00
Amin Yahyaabadi b9c2f3b391 chore: break the code for handling versions 2022-11-02 20:01:42 -07:00
Amin Yahyaabadi 9d1119edc9 fix: update setup-python 2022-10-19 14:37:02 -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 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 c8cec57d18 fix: handle the promises in setupAptPack 2022-07-27 19:07:30 -07:00
Amin Yahyaabadi 3d6f9a38eb fix: install python3-pip on fedora 2022-07-10 18:12:19 -07:00
Amin Yahyaabadi 4a49195853 fix: fix python, pip, and doxygen on fedora 2022-07-10 17:53:17 -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 2c1f704299 test: run setupActionsPython directly 2022-07-05 21:56:30 -07:00
Amin Yahyaabadi ed9b316d01 fix: update setup-python 2022-07-05 20:56:51 -07:00
Amin Yahyaabadi 1e2c406cc3 fix: find the path of python on windows using which 2022-06-29 21:47:20 -07:00
Amin Yahyaabadi 043050f031 test: add tests for the python installer 2022-06-29 21:15:34 -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 e11034e0a8 chore: update devDependencies 2022-06-25 17:30:17 -07:00
Amin Yahyaabadi 5692a92fdb fix: update setup-python 2022-06-25 17:16:32 -07:00
Amin Yahyaabadi 7e3e265a8a fix: make execPowershell async 2022-05-12 12:55:00 -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 c0da0c558a build: remove js files in dist before building 2022-04-24 16:57:05 -07:00
Amin Yahyaabadi 4f53659123 fix: dynamically load actions_python 2022-04-24 16:56:37 -07:00
Amin Yahyaabadi 660f362f49 fix: do not use setFailed 2022-04-24 16:56:33 -07:00
Amin Yahyaabadi 8705b57937 fix: use dynamic imports to load the cache files 2022-04-24 16:56:25 -07:00
Amin Yahyaabadi 0f42dc4b13 fix: update setup-python to v3.1.2 2022-04-24 16:56:25 -07:00
Amin Yahyaabadi 1af7af9c53 chore: move addPath function 2022-02-28 21:54:49 -08:00
Amin Yahyaabadi b3eda4ff33 feat: add logging integration for msvc, gcc, python 2022-02-11 17:00:12 -08:00
Amin Yahyaabadi dabb2db00e chore: report setup-cpp errors 2022-02-04 16:29:52 -08:00
Amin Yahyaabadi ff997f2c40 fix: ensure running setup-python in github actions 2022-02-04 16:02:04 -08:00
Amin Yahyaabadi 8daf6389ac fix: fix choco python installdir 2022-02-04 15:06:37 -08:00
Amin Yahyaabadi 7523d162da fix: check if the pip executable is working on windows 2022-02-04 13:38:25 -08:00
Amin Yahyaabadi 80915508cf fix: use choco to install python on windows 2022-02-04 12:11:26 -08:00
Amin Yahyaabadi f21f0db888 fix: update actions_python entry file
Based on https://github.com/actions/setup-python/blob/main/src/setup-python.ts
2022-02-04 11:43:56 -08:00
Amin Yahyaabadi c0e8c96665 fix: run GitHub specific code only on GitHub CI 2022-01-17 14:24:54 -08:00
Amin Yahyaabadi 902069de32 chore: use npm to install repositories instead of git modules 2021-12-05 08:16:28 -06:00
Amin Yahyaabadi 991ce56d70 fix: fix the matchers path for python 2021-11-21 16:57:26 -06:00
Amin Yahyaabadi 2d4c04a0f7 fix: lazy-load setupActionsPython 2021-11-21 16:22:27 -06:00
Amin Yahyaabadi c6eb5ca89b feat: change the installation directory to ~/tool
BREAKING CHANGE
2021-11-21 12:53:27 -06:00
Amin Yahyaabadi 0712d6f19e feat: add activateWinPython [skip ci] 2021-09-20 07:35:17 -05:00
Amin Yahyaabadi 44478af66e refactor: separate setupActionsPython 2021-09-20 07:26:46 -05:00
Amin Yahyaabadi 9b38d106c8 fix: make addPath sync 2021-09-19 03:49:42 -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 d7f2e680b4 fix: use system python installation on non-ci 2021-09-18 07:50:31 -05:00
Amin Yahyaabadi d941917c7a fix: add fallback for python installation 2021-09-18 07:39:59 -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 79e1c66874 feat: add python installation
ci: enable submodules in the ci

Update setup-python
2021-09-14 15:35:52 -05:00