From 82f4b5250af421bc95944c8243d35491bc26b13b Mon Sep 17 00:00:00 2001 From: Michael Wyatt Date: Mon, 9 Oct 2023 09:24:08 -0700 Subject: [PATCH 1/4] testing build process --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000000..9e0380b10fb5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Build and publish DeepSpeed release + +on: + pull_request: + +jobs: + deploy: + runs-on: ubuntu-20.04 + environment: release-env + + steps: + - uses: actions/checkout@v3 + with: + ref: "master" + - name: Build DeepSpeed + run: | + DS_BUILD_STRING=" " python setup.py sdist_wheel \ No newline at end of file From 2697dc2eeeeb0abaf8a4b1c48a3597a7b270c54a Mon Sep 17 00:00:00 2001 From: Michael Wyatt Date: Mon, 9 Oct 2023 09:26:14 -0700 Subject: [PATCH 2/4] rename test workflow --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e0380b10fb5..953172ec59bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and publish DeepSpeed release +name: Build DeepSpeed on: pull_request: From 7b9d9a870dd4125b9e7e487ae4b35237e410c5b2 Mon Sep 17 00:00:00 2001 From: Michael Wyatt Date: Mon, 9 Oct 2023 09:32:18 -0700 Subject: [PATCH 3/4] setup env for build --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 953172ec59bc..a6df4c4a8204 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,10 @@ jobs: - uses: actions/checkout@v3 with: ref: "master" + + - id: setup-venv + uses: ./.github/workflows/setup-venv + - name: Build DeepSpeed run: | DS_BUILD_STRING=" " python setup.py sdist_wheel \ No newline at end of file From 411fe8c37b7ffaf9be96e34440266dd98dcd5976 Mon Sep 17 00:00:00 2001 From: Michael Wyatt Date: Mon, 9 Oct 2023 09:35:02 -0700 Subject: [PATCH 4/4] fix bad build command --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6df4c4a8204..5ff04b99102e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: - name: Build DeepSpeed run: | - DS_BUILD_STRING=" " python setup.py sdist_wheel \ No newline at end of file + DS_BUILD_STRING=" " python setup.py sdist \ No newline at end of file