Skip to content

feat: bijective change of variables in fitting sphere (#26) #105

feat: bijective change of variables in fitting sphere (#26)

feat: bijective change of variables in fitting sphere (#26) #105

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install MOSEK
env:
MOSEK_LIC: ${{secrets.MOSEK_LIC}}
run: |
set -o pipefail
curl -sSfL https://download.mosek.com/stable/10.0.12/mosektoolslinux64x86.tar.bz2 | tar xj
mv mosek $HOME
echo "$HOME/mosek/10.0/tools/platform/linux64x86/bin" >> $GITHUB_PATH
echo "$MOSEK_LIC" > $HOME/mosek.lic
echo "MOSEKLM_LICENSE_FILE=$HOME/mosek.lic" >> $GITHUB_ENV
- name: Install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain leanprover/lean4:v4.6.0-rc1
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Install Rust and Cargo
run: |
curl --proto '=https' -sSf https://sh.rustup.rs > rustup-init.sh
sh rustup-init.sh -y --default-toolchain none
- name: Checkout
uses: actions/checkout@v3
- name: Build egg-pre-dcp and CvxLean
run: |
./build.sh
- name: Check style
run: |
./scripts/style/check_style_all.sh
- name: Test egg-pre-dcp
working-directory: egg-pre-dcp
run: |
cargo test
- name: Test CvxLean
run: |
lake build CvxLeanTest