mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
feat(dfr): add the DFR (DataFlow Runtime).
This commit is contained in:
28
.github/workflows/conformance.yml
vendored
28
.github/workflows/conformance.yml
vendored
@@ -52,3 +52,31 @@ jobs:
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
chmod -R ugo+rwx /tmp/KeySetCache
|
||||
BuildAndTestDF:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build and test compiler (dataflow)
|
||||
uses: addnab/docker-run-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
image: ghcr.io/zama-ai/zamalang-df-compiler:latest
|
||||
username: ${{ secrets.GHCR_LOGIN }}
|
||||
password: ${{ secrets.GHCR_PASSWORD }}
|
||||
options: -v ${{ github.workspace }}/compiler:/compiler
|
||||
shell: bash
|
||||
run: |
|
||||
set -e
|
||||
echo "Debug: ccache statistics (prior to the build):"
|
||||
ccache -s
|
||||
cd /compiler
|
||||
pip install pytest
|
||||
rm -rf /build
|
||||
export PYTHONPATH=""
|
||||
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build test test-dataflow
|
||||
echo "Debug: ccache statistics (after the build):"
|
||||
ccache -s
|
||||
chmod -R ugo+rwx /tmp/KeySetCache
|
||||
|
||||
29
.github/workflows/docker-hpx.yml
vendored
Normal file
29
.github/workflows/docker-hpx.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Docker image (HPX build)
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- builders/Dockerfile.hpx-env
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_publish:
|
||||
name: Build & Publish the Docker image
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
IMAGE: ghcr.io/zama-ai/hpx
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: build
|
||||
run: docker build -t $IMAGE -f builders/Dockerfile.hpx-env .
|
||||
|
||||
- name: login
|
||||
run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin ghcr.io
|
||||
|
||||
- name: tag and publish
|
||||
run: |
|
||||
docker push $IMAGE:latest
|
||||
35
.github/workflows/docker-zamalang-df.yml
vendored
Normal file
35
.github/workflows/docker-zamalang-df.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Docker image (dataflow)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_publish:
|
||||
name: Build & Publish the Docker image (dataflow)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
IMAGE: ghcr.io/zama-ai/zamalang-df-compiler
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: login
|
||||
run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin ghcr.io
|
||||
|
||||
- name: build
|
||||
run: docker image build --no-cache --label "commit-sha=${{ github.sha }}" -t $IMAGE -f builders/Dockerfile.zamalang-df-env .
|
||||
|
||||
- name: tag and publish
|
||||
run: |
|
||||
docker image tag $IMAGE $IMAGE:${{ github.sha }}
|
||||
docker image push $IMAGE:latest
|
||||
docker image push $IMAGE:${{ github.sha }}
|
||||
Reference in New Issue
Block a user