python: add list comprehension example for filtering dict #1021
This file contains hidden or 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: Main Branch Commit Action | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| ggml: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Building ggml examples | |
| run: | | |
| echo "Build ggml examples" | |
| cd fundamentals/ggml | |
| git submodule update --init ggml | |
| make ggml-init | |
| make ggml | |
| make | |
| llama_cpp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install CURL development libraries | |
| run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev | |
| - name: Building llama.cpp examples | |
| run: | | |
| cd fundamentals/llama.cpp | |
| git submodule update --init llama.cpp | |
| make llama-init | |
| make llama | |
| make all |