aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python-app.yml21
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