Skip to content

Commit 734a5d5

Browse files
committed
ci: Build workflow
Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent e70f109 commit 734a5d5

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Copyright (c) 2020-2021, NVIDIA CORPORATION.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Build, test, and publish a PyPi wheel (to testpypi)
16+
17+
on:
18+
push:
19+
branches:
20+
- main
21+
- 'r**'
22+
pull_request:
23+
24+
defaults:
25+
run:
26+
shell: bash -x -e -u -o pipefail {0}
27+
28+
jobs:
29+
build-test-publish-wheel:
30+
uses: NVIDIA/NeMo-FW-CI-templates/.github/workflows/_build_test_publish_wheel.yml@ko3n1g/ci/build-wheel-public-infra
31+
with:
32+
dry-run: true
33+
python-package: nemo_run
34+
base_dir: src
35+
environment: public
36+
secrets:
37+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
38+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
39+
SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }}
40+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)