Skip to content

Commit

Permalink
Merge pull request iden3#80 from iden3/master
Browse files Browse the repository at this point in the history
Adding changes in master to branch primes and custom gates
  • Loading branch information
clararod9 authored Jul 1, 2022
2 parents b012c7e + e0c451b commit 59739df
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 24 deletions.
51 changes: 29 additions & 22 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
name: release circom binaries

name: Publish binaries
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
tags:
- '*'

env:
CARGO_TERM_COLOR: always

jobs:
build-ubuntu:
runs-on: ubuntu-latest
build-and-publish:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: circom
asset_name: circom-linux-amd64
- os: windows-latest
artifact_name: circom.exe
asset_name: circom-windows-amd64.exe
- os: macos-latest
artifact_name: circom
asset_name: circom-macos-amd64

steps:
- uses: actions/checkout@master
- name: Compile
id: compile
run: cargo build --verbose --release
- name: Checkout project
uses: actions/checkout@v2

- name: Run tests
run: cargo test --verbose

- name: Tar files
run: tar -cvf circom.tar -C /home/runner/work/circom/circom/target/release circom
- name: Build
run: cargo build --verbose --release

- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: circom
path: |
circom.tar
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: target/release/${{ matrix.artifact_name }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
asset_name: ${{ matrix.asset_name }}
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Release notes

## June 23, 2022 circom 2.0.5

#### Extensions
- Removing non-determinism in linear constraints that cannot be removed.
- Making deterministic the code generation.
- Adding signal one in the wires counting for optimization option '-O0'.


#### Fixed Bugs
- Bug in conditional creation of components inside loops

## April 24, 2022 circom 2.0.4

#### Extensions
Expand Down
2 changes: 1 addition & 1 deletion circom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "circom"
version = "2.0.4"
version = "2.0.5"
authors = ["Costa Group UCM & iden3"]
edition = "2021"

Expand Down
Binary file removed mkdocs/docs/binaries/macos/circom
Binary file not shown.
6 changes: 5 additions & 1 deletion mkdocs/docs/downloads/downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ description: >-
A page with compiled circom, to download and use.
---

[**macOS binary**](../../binaries/macos/circom)
[**circom Linux binary**](https://github.com/iden3/circom/releases/latest/download/circom-linux-amd64)

[**circom macOS binary**](https://github.com/iden3/circom/releases/latest/download/circom-macos-amd64)

[**circom Windows binary**](https://github.com/iden3/circom/releases/latest/download/circom-windows-amd64.exe)

0 comments on commit 59739df

Please sign in to comment.