aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/python-app.yml
blob: e259c3e079d20a04ee326e88e7402a05dad99418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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