Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit c8b3d46

Browse files
test package using miniconda
1 parent 66c96e9 commit c8b3d46

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

.github/workflows/python-package.yml

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
- os: "mac"
3535
name: "arm64"
3636
runs-on: "macos-silicon"
37-
- os: "windows"
38-
name: "amd64"
39-
runs-on: "windows-cuda-12-0"
37+
# - os: "windows"
38+
# name: "amd64"
39+
# runs-on: "windows-cuda-12-0"
4040
steps:
4141
- name: Clone
4242
id: checkout
@@ -46,35 +46,36 @@ jobs:
4646
repository: janhq/models
4747
ref: "feat/ci-python-models"
4848

49-
- name: Install Miniconda on Linux
50-
if: runner.os == 'Linux'
51-
run: |
52-
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
53-
bash miniconda.sh -b -p $HOME/miniconda
54-
echo "$HOME/miniconda/bin" >> $GITHUB_PATH
49+
# - name: Install Miniconda on Linux
50+
# if: runner.os == 'Linux'
51+
# run: |
52+
# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
53+
# bash miniconda.sh -b -p $HOME/miniconda
54+
# echo "$HOME/miniconda/bin" >> $GITHUB_PATH
5555

56-
- name: Install Miniconda on macOS
57-
if: runner.os == 'macOS'
58-
run: |
59-
if [ "$(uname -m)" = "arm64" ]; then
60-
echo "Running on macOS ARM"
61-
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh"
62-
else
63-
echo "Running on macOS Intel"
64-
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh"
65-
fi
66-
echo "Downloading Miniconda from $MINICONDA_URL"
67-
curl -L $MINICONDA_URL -o miniconda.sh
68-
bash miniconda.sh -b -p $HOME/miniconda
69-
echo "$HOME/miniconda/bin" >> $GITHUB_PATH
56+
# - name: Install Miniconda on macOS
57+
# if: runner.os == 'macOS'
58+
# run: |
59+
# if [ "$(uname -m)" = "arm64" ]; then
60+
# echo "Running on macOS ARM"
61+
# MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh"
62+
# else
63+
# echo "Running on macOS Intel"
64+
# MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh"
65+
# fi
66+
# echo "Downloading Miniconda from $MINICONDA_URL"
67+
# curl -L $MINICONDA_URL -o miniconda.sh
68+
# bash miniconda.sh -b -p $HOME/miniconda
69+
# echo "$HOME/miniconda/bin" >> $GITHUB_PATH
7070

71-
- name: Install Miniconda on Windows
72-
if: runner.os == 'Windows'
73-
shell: cmd
74-
run: |
75-
curl -o miniconda.exe https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
76-
start /wait "" miniconda.exe /InstallationType=JustMe /AddToPath=1 /RegisterPython=0 /S /D=Miniconda
77-
echo Miniconda >> %GITHUB_PATH%
71+
# - name: Install Miniconda on Windows
72+
# if: runner.os == 'Windows'
73+
# shell: pwsh
74+
# run: |
75+
# $minicondaUrl = 'https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe'
76+
# Invoke-WebRequest -Uri $minicondaUrl -OutFile miniconda.exe
77+
# Start-Process -FilePath miniconda.exe -ArgumentList '/InstallationType=JustMe', '/AddToPath=1', '/RegisterPython=0', '/S', ('/D=Miniconda3') -Wait
78+
# echo "$env:USERPROFILE\\Miniconda3" >> $GITHUB_PATH
7879
- name: Install dependencies Windows
7980
if: runner.os == 'windows'
8081
run: |

0 commit comments

Comments
 (0)