Skip to content
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: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2.2.0
- name: Install dependencies
run: conda create --name scip --no-default-packages -c conda-forge 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