We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11c59c2 commit cc5229eCopy full SHA for cc5229e
2 files changed
.github/workflows/main.yml
@@ -0,0 +1,38 @@
1
+name: Python Test and Package
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ tags:
8
+ - 'v*'
9
+ pull_request:
10
11
12
13
+jobs:
14
+ build:
15
+ strategy:
16
+ matrix:
17
+ os: [ubuntu-latest, macos-latest]
18
+ python-version: ['3.7', '3.10']
19
+ runs-on: ${{ matrix.os }}
20
+ steps:
21
+ - uses: actions/checkout@v3
22
+ with:
23
+ fetch-depth: 1
24
+ submodules: true
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v2
27
28
+ python-version: ${{ matrix.python-version }}
29
+ - name: Install tools
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ python -m pip install build
33
+ - name: Build Package
34
35
+ python -m build
36
+ - name: List
37
38
+ ls -la dist
SimpleITK
0 commit comments