Fix shadowed variable in fbpcf/mpc_std_lib/unified_data_process/data_processor/test/DataProcessorTest.cpp #1528
Workflow file for this run
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: Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
VERSION_TAG: latest-build | |
jobs: | |
ubuntu: | |
runs-on: [self-hosted, e2e_test_runner] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build fbpcf docker image | |
run: | | |
./build-docker.sh -u | |
- name: Sanity check fbpcf library (v1) | |
timeout-minutes: 3 | |
run: | | |
./run-sanity_check.sh -u -v 1 | |
working-directory: fbpcf/tests/github/ | |
- name: Sanity check fbpcf library (v2) | |
timeout-minutes: 3 | |
run: | | |
./run-sanity_check.sh -u -v 2 | |
working-directory: fbpcf/tests/github/ | |
- name: Run Edit Distance E2E Test | |
timeout-minutes: 10 | |
run: | | |
./run-edit_distance_validation.sh -u | |
working-directory: fbpcf/tests/github/ | |
- name: Clone latest stable fbpcs | |
run: | | |
git clone https://github.com/facebookresearch/fbpcs | |
cd fbpcs | |
git reset --hard $(curl \ | |
--header 'content-type: application/json' \ | |
"https://api.github.com/repos/facebookresearch/fbpcs/actions/workflows/12965519/runs?per_page=1&status=success" | jq \ | |
".workflow_runs[0] .head_sha" | tr -d '"') | |
- name: Build fbpcs image (this uses the locally built fbpcf image as a dependency) | |
run: | | |
cd fbpcs | |
./build-docker.sh onedocker -t ${{ env.VERSION_TAG }} | |
- name: Cleanup | |
run: | | |
# remove all images | |
docker image prune -af | |
# stop and remove all containers | |
docker kill $(docker ps -q) || echo "No running containers to stop." | |
docker rm $(docker ps -a -q) || echo "No containers to delete." |