-
Notifications
You must be signed in to change notification settings - Fork 68
68 lines (53 loc) · 1.65 KB
/
build_binaries.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Build Binaries
# on:
# push:
# tags:
# - v** # TODO: add regex for version numbers
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # do not stop all builds if one fails
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/[email protected]
- name: Install dependencies
run: |
conda create --name scip
conda info --envs
ls C:\Miniconda\envs\scip\
# - name: Set OS-specific Path
# run: |
# if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
# echo "OS_SPECIFIC_PATH=/usr/share/miniconda/envs/scip/" >> $GITHUB_ENV
# elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
# echo "OS_SPECIFIC_PATH=/usr/local/miniconda/" >> $GITHUB_ENV
# elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
# echo "OS_SPECIFIC_PATH=C:\Miniconda\envs\scip\" >> $GITHUB_ENV
# fi
# - name: Upload header files
# uses: actions/upload-artifact@v3
# with:
# name: headers
# path: /usr/share/miniconda/envs/scip/include
# - name: Upload lib files
# uses: actions/upload-artifact@v3
# with:
# name: libscip
# path: /usr/share/miniconda/envs/scip/lib
- name: Upload header files
uses: actions/upload-artifact@v3
with:
name: headers
path: C:\Miniconda\envs\scip\include
- name: Upload lib files
uses: actions/upload-artifact@v3
with:
name: libscip
path: C:\Miniconda\envs\scip\lib