mirror of
https://github.com/openai/openai-realtime-embedded-sdk.git
synced 2024-12-22 15:30:39 +03:00
29 lines
589 B
YAML
29 lines
589 B
YAML
name: Build
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
target: [esp32s3, linux]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Build
|
|
run: |
|
|
docker run -v $PWD:/project -w /project -u 0 \
|
|
-e HOME=/tmp -e WIFI_SSID=A -e WIFI_PASSWORD=B -e OPENAI_API_KEY=X \
|
|
espressif/idf:latest \
|
|
/bin/bash -c 'idf.py --preview set-target ${{ matrix.target }} && idf.py build'
|
|
shell: bash
|