mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
the loggign is actually incorrect, as this would be the version of the repo, not the one in the env, so it doesn't even make sense
37 lines
935 B
YAML
37 lines
935 B
YAML
name: Conformance
|
|
|
|
on:
|
|
push:
|
|
branches: [master, test-ci]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
Formatting:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- name: Format with clang-format
|
|
run: .github/workflows/scripts/format_cpp.sh
|
|
BuildAndTest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Build and test compiler
|
|
uses: addnab/docker-run-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
image: ghcr.io/zama-ai/zamalang-compiler:latest
|
|
username: ${{ secrets.GHCR_LOGIN }}
|
|
password: ${{ secrets.GHCR_PASSWORD }}
|
|
options: -v ${{ github.workspace }}/compiler:/compiler
|
|
run: |
|
|
cd /compiler
|
|
pip install pytest
|
|
make BUILD_DIR=/build test
|