Skip to content

Commit

Permalink
Split build into windows and not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Sep 12, 2024
1 parent 67c8e92 commit 8e6b49b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build_tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ jobs:
include:
- os-folder: linux-64
- build-folder: .conda.tensorflow
- os-shell: bash -l {0}
- os: "windows-2022"
os-folder: win-64
os-shell: powershell
env-prefix: C:\c\
- os: "macos-14"
os-folder: osx-arm64
Expand Down Expand Up @@ -66,12 +64,18 @@ jobs:
conda info
conda list
- name: Build conda package
- name: Build conda package (Windows)
if: env.RUN_BUILD_JOB == 'true'
shell: ${{ matrix.os-shell }}
shell: powershell
run: |
conda build --debug ${{ matrix.build-folder }} --output-folder ${{ matrix.env-prefix }}build.tensorflow -c conda-forge
- name: Build conda package (not Windows)
if: env.RUN_BUILD_JOB == 'true'
shell: bash -l {0}
run: |
conda build --debug ${{ matrix.build-folder }} --output-folder build.tensorflow -c conda-forge
# Upload the build artifact incase anaconda upload fails
- name: Upload conda package artifact
if: env.RUN_BUILD_JOB == 'true'
Expand Down

0 comments on commit 8e6b49b

Please sign in to comment.