We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4170540 commit 14ac792Copy full SHA for 14ac792
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+---
2
+
3
+name: Python build
4
5
+# Controls when the action will run. Triggers the workflow on:
6
+# * push on any branch.
7
+# * tag creation for tags beginning with a 'v'
8
+# * pull requests
9
+on:
10
+ push:
11
+ branches: ["*"]
12
+ tags: ["v*"]
13
+ pull_request:
14
+ types: [opened, reopened, synchronize]
15
16
17
+jobs:
18
+ build-package:
19
20
+ runs-on: ubuntu-latest
21
+ timeout-minutes: 20
22
23
+ steps:
24
+ - uses: actions/checkout@v6
25
26
+ - name: Obtain prerequisite build tool
27
+ run: |
28
+ pip install 'capstone<5'
29
30
+ - name: Run tests
31
32
+ make tests
33
34
+ - name: Build package
35
36
+ make package
37
38
+ - uses: actions/upload-artifact@v6
39
+ with:
40
+ name: Package
41
+ path: dist
0 commit comments