Skip to content

Commit 2d928b3

Browse files
authored
Update build.yaml
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 1c7ca64 commit 2d928b3

1 file changed

Lines changed: 1 addition & 92 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -34,97 +34,6 @@ jobs:
3434
os: [ubuntu-latest, macos-latest, windows-latest]
3535

3636
steps:
37-
<<<<<<< before updating
38-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
39-
with:
40-
persist-credentials: false
41-
42-
- uses: actions-ext/python/setup@main
43-
with:
44-
version: ${{ matrix.python-version }}
45-
46-
- uses: actions-ext/rust/setup@main
47-
48-
- name: Install dependencies
49-
run: make develop
50-
51-
- name: Lint
52-
run: make lint
53-
54-
- name: Checks
55-
run: make checks
56-
if: matrix.os == 'ubuntu-latest'
57-
58-
- name: Build
59-
run: make build
60-
61-
- name: Test
62-
run: make coverage
63-
64-
- name: Upload test results (Python)
65-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
66-
with:
67-
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
68-
path: '**/junit.xml'
69-
if: ${{ always() }}
70-
71-
- name: Publish Unit Test Results
72-
uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
73-
with:
74-
files: '**/junit.xml'
75-
if: matrix.os == 'ubuntu-latest'
76-
77-
- name: Upload coverage
78-
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
79-
with:
80-
token: ${{ secrets.CODECOV_TOKEN }}
81-
82-
- name: Set up QEMU
83-
uses: docker/setup-qemu-action@v4
84-
with:
85-
platforms: all
86-
if: runner.os == 'Linux' && runner.arch == 'X64'
87-
88-
- name: Make dist (Linux)
89-
run: |
90-
rm -rf dist
91-
make dist-rs
92-
make dist-py-sdist
93-
# cibuildwheel tars the entire working tree into the manylinux container.
94-
# The earlier build/coverage/dist-rs steps leave a multi-GB rust/target
95-
# cache that the wheel build recompiles from source anyway, so strip it
96-
# to keep the container copy from stalling.
97-
rm -rf rust/target
98-
make dist-py-wheel
99-
make dist-check
100-
shell: bash
101-
if: matrix.os == 'ubuntu-latest'
102-
103-
- name: Make dist (Macos / Windows)
104-
run: |
105-
rm -rf dist
106-
make dist-py-wheel
107-
make dist-check
108-
shell: bash
109-
env:
110-
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
111-
if: matrix.os != 'ubuntu-latest'
112-
113-
- uses: actions-ext/python/test-wheel@main
114-
with:
115-
module: nepenthe
116-
if: matrix.os == 'ubuntu-latest'
117-
118-
- uses: actions-ext/python/test-sdist@main
119-
with:
120-
module: nepenthe
121-
if: matrix.os == 'ubuntu-latest'
122-
123-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
124-
with:
125-
name: dist-${{matrix.os}}
126-
path: dist
127-
=======
12837
- name: Checkout
12938
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
13039
with:
@@ -190,6 +99,7 @@ jobs:
19099
rm -rf dist
191100
make dist-rs
192101
make dist-py-sdist
102+
rm -rf rust/target
193103
make dist-py-wheel
194104
make dist-check
195105
shell: bash
@@ -222,4 +132,3 @@ jobs:
222132
with:
223133
name: dist-${{ matrix.os }}
224134
path: dist
225-
>>>>>>> after updating

0 commit comments

Comments
 (0)