forked from containers/ramalama
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.09 KB
/
install_ramalama.yml
File metadata and controls
52 lines (42 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Install RamaLama
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
install_ramalama:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # Runs on Ubuntu and macOS
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Dependencies (Ubuntu)
timeout-minutes: 20
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y lshw curl
- name: Set Up Dependencies (macOS)
if: matrix.os == 'macos-latest'
run: |
if ! command -v brew &> /dev/null; then
echo "Homebrew is required but not found. Please install it."
exit 1
fi
- name: Run RamaLama Installer
run: |
chmod +x install.sh
./install.sh -l
- name: Verify RamaLama installation
run: |
ramalama ls | grep NAME
- name: RamaLama info
run: |
ramalama info
- name: RamaLama pull
run: |
ramalama pull tinyllama