Skip to content

add github action.

add github action. #6

Workflow file for this run

name: chatglm-linux
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'src/**'
- '.github/workflows/chatglm_linux.yml'
pull_request:
branches: [master]
paths:
- 'src/**'
- '.github/workflows/chatglm_linux.yml'
concurrency:
group: linux-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
linux_buil_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: download
# run: ./script/download_model.sh chatglm-6b
- name: build
run: ./script/linux_build.sh
- name: test
run: |
ls ./build
# ./build/cli_demo -m chatglm-6b