feat: computable backward maps and all old tactics #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.4.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 CvxLean | |
run: | | |
set -o pipefail | |
lake update | |
lake exe cache get | |
lake run EggClean | |
lake build EggConvexify | |
lake build CvxLean | |
- name: Test CvxLean | |
run: | | |
lake build CvxLeanTest | |