feat(ads-client): add OHTTP support (AC-94) #88
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: Ads Client Tests | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "components/ads-client/**" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "components/ads-client/**" | |
| workflow_dispatch: | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| - name: Install Rust | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| source $HOME/.cargo/env | |
| rustup toolchain install | |
| - name: Build NSS | |
| env: | |
| NSS_DIR: ${{ github.workspace }}/libs/desktop/linux-x86-64/nss | |
| NSS_STATIC: 1 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ninja-build zlib1g-dev tclsh python3 | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| python3 -m pip install --upgrade pip setuptools six | |
| git clone https://chromium.googlesource.com/external/gyp.git tools/gyp | |
| cd tools/gyp && pip install . && cd ../.. | |
| ./libs/verify-desktop-environment.sh | |
| - name: Run ads-client integration tests against MARS staging | |
| env: | |
| NSS_DIR: ${{ github.workspace }}/libs/desktop/linux-x86-64/nss | |
| NSS_STATIC: 1 | |
| run: cargo test -p ads-client-integration-tests -- --ignored |