From: Georgi Gerganov Date: Fri, 7 Oct 2022 15:32:18 +0000 (+0300) Subject: Add CI using Github Actions X-Git-Tag: upstream/1.7.4~1993 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=844d60b284ae98db042c8c79d188dda1f606340b;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Add CI using Github Actions --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..0a91f8f4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,38 @@ +name: CI +on: [push] + +jobs: + ubuntu-latest: + runs-on: ubuntu-latest + + steps: + - name: Clone + uses: actions/checkout@v1 + + - name: Dependencies + run: | + sudo apt-get update + sudo apt-get install build-essential + sudo apt-get install libsdl2-dev; + + - name: Build + run: | + make + make stream + + macOS-latest: + runs-on: macOS-latest + + steps: + - name: Clone + uses: actions/checkout@v1 + + - name: Dependencies + run: | + brew update + brew install sdl2 + + - name: Build + run: | + make + make stream