Skip to content

Commit dfc60d7

Browse files
committed
Merge branch 'main' of github.com:worldcoin/gpu-iris-mpc into rw/buckets
2 parents 2926cdd + 4913ef3 commit dfc60d7

File tree

133 files changed

+8282
-1769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+8282
-1769
lines changed

.github/workflows/build-all-targets.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55

66
concurrency:
7-
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
7+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
88
cancel-in-progress: true
99

1010
jobs:
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16+
- name: Install Dependencies
17+
run: sudo apt install protobuf-compiler
1618
- name: Cache build products
1719
uses: Swatinem/rust-cache@v2.7.3
1820
with:
@@ -31,6 +33,8 @@ jobs:
3133
steps:
3234
- name: Checkout code
3335
uses: actions/checkout@v4
36+
- name: Install Dependencies
37+
run: sudo apt install protobuf-compiler
3438
- name: Cache build products
3539
uses: Swatinem/rust-cache@v2.7.3
3640
with:

.github/workflows/doc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55

66
concurrency:
7-
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
7+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
88
cancel-in-progress: true
99

1010
jobs:
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16+
- name: Install Dependencies
17+
run: sudo apt install protobuf-compiler
1618
- name: Show errors inline
1719
uses: r7kamura/rust-problem-matchers@v1
1820
- name: Install Rust nightly

.github/workflows/lint-clippy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55

66
concurrency:
7-
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
7+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
88
cancel-in-progress: true
99

1010
permissions:
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v4
24+
- name: Install Dependencies
25+
run: sudo apt install protobuf-compiler
2426
- name: Install Rust nightly
2527
run: rustup toolchain install nightly-2024-07-10
2628
- name: Set Rust nightly as default

.github/workflows/run-unit-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55
branches:
66
- main
77
pull_request:
8-
types: [ opened, synchronize ]
8+
types: [opened, synchronize]
99

1010
concurrency:
11-
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
11+
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
1212
cancel-in-progress: true
1313

1414
jobs:
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout code
3030
uses: actions/checkout@v4
31+
- name: Install Dependencies
32+
run: sudo apt install protobuf-compiler
3133
- name: Cache build products
3234
uses: Swatinem/rust-cache@v2.7.3
3335
with:
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Branch - Build and push docker image
2+
3+
on:
4+
push:
5+
branches:
6+
- "ps/potential-phantom-match"
7+
8+
concurrency:
9+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
10+
cancel-in-progress: true
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
IMAGE_NAME: ${{ github.repository }}
15+
16+
jobs:
17+
docker:
18+
runs-on:
19+
labels: ubuntu-22.04-64core
20+
permissions:
21+
packages: write
22+
contents: read
23+
attestations: write
24+
id-token: write
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
- name: Set up QEMU
29+
uses: docker/setup-qemu-action@v3
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@v3
32+
- name: Log in to the Container registry
33+
uses: docker/login-action@v3
34+
with:
35+
registry: ${{ env.REGISTRY }}
36+
username: ${{ github.repository_owner }}
37+
password: ${{ secrets.GITHUB_TOKEN }}
38+
- name: Build and Push
39+
uses: docker/build-push-action@v6
40+
with:
41+
context: .
42+
push: true
43+
tags: |
44+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
45+
platforms: linux/amd64
46+
cache-from: type=gha
47+
cache-to: type=gha,mode=max

.github/workflows/test-gpu.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
sudo ln -sf /usr/bin/gcc-11 /usr/bin/gcc
3131
gcc --version
3232
33-
- name: Install OpenSSL && pkg-config
34-
run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev
33+
- name: Install OpenSSL && pkg-config && protobuf-compiler
34+
run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev protobuf-compiler
3535

3636
- name: Install CUDA and NCCL dependencies
3737
if: steps.cache-cuda-nccl.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)