-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (41 loc) · 1.15 KB
/
windows_conda_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: WindowsCondaBuild
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
WindowsCondaBuild:
name: WindowsCondaBuild
runs-on: windows-latest
steps:
- 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"