diff options
author | Pavel I. Kryukov <kryukov@frtk.ru> | 2020-11-10 01:26:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 14:26:59 -0800 |
commit | f90c885f0a7281c3f6d52a316d92ad43d9ab9557 (patch) | |
tree | 9e2cc0ebc21b954fa08a20e81302a521757c7a98 /.github/workflows/python-app.yml | |
parent | 130fcfb252c02c32f3d2f12e22df546239188813 (diff) | |
download | riscv-opcodes-f90c885f0a7281c3f6d52a316d92ad43d9ab9557.zip riscv-opcodes-f90c885f0a7281c3f6d52a316d92ad43d9ab9557.tar.gz riscv-opcodes-f90c885f0a7281c3f6d52a316d92ad43d9ab9557.tar.bz2 |
Add GitHub Actions file (#53)
Diffstat (limited to '.github/workflows/python-app.yml')
-rw-r--r-- | .github/workflows/python-app.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..e259c3e --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,21 @@ +name: Opcodes generation + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Generation C code + run: cat opcodes-* | ./parse_opcodes -c > result.h + - name: Check C output + run: cat result.h | cpp |