Skip to content

Add instructions for how to fetch the compiler #54

Add instructions for how to fetch the compiler

Add instructions for how to fetch the compiler #54

name: WindowsCondaBuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# The windows build complains about the default PATH being too long. Trying to set
# the path here, but whatever is being tried it fails. TBD.
#env:
# PATH: ""
jobs:
WindowsCondaBuild:
name: WindowsCondaBuild
runs-on: windows-latest
steps:
- name: Check env variables
shell: bash
id: env_check
run: |
env
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Setup env variables
shell: bash
id: envs
run: |
echo "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC" >> $GITHUB_ENV
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
activate-environment: buildenv
environment-file: conda_build_env.yml
auto-activate-base: false
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Build Package
run: |
conda build .
- name: Test Package
run: |
echo Empty test
- name: Upload
uses: actions/upload-artifact@v2
with:
name: polyview_windows_conda_build
path: "C:/Miniconda3/envs/buildenv/conda-bld/win-64"