LocalAI/.github/workflows/test.yml

44 lines
727 B
YAML
Raw Permalink Normal View History

---
name: 'tests'
on:
pull_request:
push:
branches:
- master
tags:
- '*'
jobs:
ubuntu-latest:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
with:
submodules: true
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
- name: Test
run: |
make test
2023-04-22 09:05:23 +00:00
macOS-latest:
runs-on: macOS-latest
2023-04-22 09:05:23 +00:00
steps:
- name: Clone
uses: actions/checkout@v3
2023-04-22 09:05:23 +00:00
with:
submodules: true
2023-04-22 09:05:23 +00:00
- name: Dependencies
run: |
brew update
brew install sdl2
- name: Test
run: |
make test