Skip to content

Add github ci build

Add github ci build #5

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
docker:
image: docker:19.03.12
options: --privileged
ports:
- 2375:2375
steps:
- uses: actions/checkout@v2
- name: Set up Docker
run: |
sudo service docker start
docker --version
- name: Copy .env.example to .env
run: |
cp llm-server/.env.example llm-server/.env # Adjust the path as needed
- name: Debug current directory and list files
run: |
pwd
ls -al
ls -al llm-server/ # Adjust this to verify the .env file
- name: Build and Test
run: |
make install