Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit a626d70

Browse files
authored
Add automatic pypi release action (#50)
- Adds github action to automatically publish new releases to pypi - Removed roadmap in readme - Changed install instructions to pip install amarna
1 parent d9623aa commit a626d70

File tree

2 files changed

+28
-16
lines changed

2 files changed

+28
-16
lines changed

.github/workflows/release.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Python Package
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set up Python 3.7
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: "3.7"
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install setuptools wheel twine
20+
- name: Build
21+
run: |
22+
python setup.py sdist bdist_wheel
23+
- name: Publish distribution to PyPI
24+
uses: pypa/gh-action-pypi-publish@master
25+
with:
26+
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ The [SARIF](https://sarifweb.azurewebsites.net/) file format is a standard forma
9494

9595
## Installation
9696
```bash
97-
git clone [email protected]:trailofbits/amarna.git && cd amarna
98-
pip install -e .
97+
pip install amarna
9998
```
10099

101100

@@ -146,17 +145,4 @@ as the first line of `file.cairo` and running amarna with
146145
```bash
147146
amarna directory/ --disable-inline -s
148147
```
149-
will not report any arithmetic rule to the `file.cairo` file.
150-
151-
152-
153-
154-
----
155-
156-
# Roadmap: Cairo patterns to implement in the future
157-
- [ ] find uninitialized variables
158-
- [ ] using ap and fp registers manually
159-
- [ ] call and jmp and revoked references
160-
- [ ] undefined behavior when using [ap] directly
161-
- [ ] callback before tempvars -- the callback might overwrite local variable memory.
162-
148+
will not report any arithmetic rule to the `file.cairo` file.

0 commit comments

Comments
 (0)