Add Sponsors and FAQ section to front page #177
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: Run tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
gen-bindings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup env | |
run: ./scripts/setup-env -MICROSOFT_CLIENT_ID=${{ secrets.MICROSOFT_CLIENT_ID }} -MICROSOFT_TENANT_ID=${{ secrets.MICROSOFT_TENANT_ID }} -AZURE_SECRET=${{ secrets.AZURE_SECRET }} | |
- name: Generate bindings | |
run: ./scripts/gen-bindings | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update bindings | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup env | |
run: ./scripts/setup-env -MICROSOFT_CLIENT_ID=${{ secrets.MICROSOFT_CLIENT_ID }} -MICROSOFT_TENANT_ID=${{ secrets.MICROSOFT_TENANT_ID }} -AZURE_SECRET=${{ secrets.AZURE_SECRET }} | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y python3 pip bubblewrap | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose --workspace |