Fix prompt syntax #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ai-cli CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@main | |
- name: Install dependencies (Ubuntu) | |
if: runner.os == 'Linux' | |
run: sudo apt-get update && sudo apt-get install libcurl4 libcurl4-openssl-dev libjansson4 libjansson-dev libreadline-dev | |
- name: Install dependencies (macOS) | |
if: runner.os == 'macOS' | |
run: | | |
brew update | |
brew upgrade || true | |
brew install jansson readline | |
- name: Make | |
run: make -C src | |
- name: Unit test | |
run: make -C src unit-test | |
- name: Global name verification | |
run: make -C src verify-global-defs | |
- name: End-to-end test | |
run: make -C src e2e-test |