Skip to content

Commit

Permalink
Simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Apr 9, 2024
1 parent 3863fbd commit 81f6aa0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ jobs:
script: chmod +x ./unix.sh && ./unix.sh
- os: macos-12
script: chmod +x ./unix.sh && ./unix.sh
- os: windows-2016
script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
- os: windows-2019
script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
- os: windows-2022
script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
- os: ubuntu-18.04
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-20.04
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-latest
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-latest
distro: debian:10
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-latest
distro: debian:11
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-latest
distro: centos:7
script: chmod +x ./unix.sh && ./unix.sh
- os: ubuntu-latest
distro: centos:8
script: chmod +x ./unix.sh && ./unix.sh
# - os: windows-2016
# script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
# - os: windows-2019
# script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
# - os: windows-2022
# script: powershell -ExecutionPolicy Bypass -File .\windows.ps1
# - os: ubuntu-18.04
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-20.04
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-latest
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-latest
# distro: debian:10
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-latest
# distro: debian:11
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-latest
# distro: centos:7
# script: chmod +x ./unix.sh && ./unix.sh
# - os: ubuntu-latest
# distro: centos:8
# script: chmod +x ./unix.sh && ./unix.sh

runs-on: ${{ matrix.os }}

Expand Down
18 changes: 4 additions & 14 deletions unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,11 @@ else
echo "pyenv is already installed."
fi

PYENV_VERSION='3.11.7'
# Install Python 3.12 if not already installed
$pyenv_root install 3.12 --skip-existing

$pyenv_root init

$pyenv_root install $PYENV_VERSION --skip-existing

$pyenv_root init

$pyenv_root global $PYENV_VERSION

$pyenv_root exec pip install open-interpreter

$pyenv_root shell $PYENV_VERSION
$pyenv_root pip install open-interpreter
$pyenv_root shell --unset
# Use pyenv exec to run pip install with the installed Python version
$pyenv_root exec python3.12 -m pip install open-interpreter

echo ""
echo "Open Interpreter has been installed. Run the following command to use it: "
Expand Down

0 comments on commit 81f6aa0

Please sign in to comment.