Add Telnyx AI services integration example #44
Workflow file for this run
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "**/README.md" | |
| - ".github/workflows/**" | |
| - "setup/**" | |
| - "workshops/**" | |
| - "*.sh" | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-x86_64: | |
| name: Build (x86_64) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install base dependencies | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| export DEBIAN_FRONTEND=noninteractive | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| pkg-config \ | |
| libssl-dev \ | |
| build-essential \ | |
| git \ | |
| curl \ | |
| unzip | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Build binary | |
| run: cargo build --release | |
| build-aarch64: | |
| name: Build (aarch64) | |
| runs-on: ubuntu-latest | |
| container: | |
| image: debian:bookworm-slim | |
| steps: | |
| - name: Install base dependencies | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| export DEBIAN_FRONTEND=noninteractive | |
| dpkg --add-architecture arm64 | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| pkg-config \ | |
| libssl-dev \ | |
| libssl-dev:arm64 \ | |
| gcc-aarch64-linux-gnu \ | |
| libc6-dev-arm64-cross \ | |
| build-essential \ | |
| git \ | |
| curl \ | |
| unzip \ | |
| cmake | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Add Rust target | |
| run: rustup target add aarch64-unknown-linux-gnu | |
| - name: Build binary | |
| env: | |
| CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc | |
| AR_aarch64_unknown_linux_gnu: aarch64-linux-gnu-ar | |
| CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc | |
| PKG_CONFIG_ALLOW_CROSS: "1" | |
| PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig | |
| run: cargo build --release --target aarch64-unknown-linux-gnu |