Update instructions #2
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: No NANBoxing | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: configure | |
run: | | |
sudo apt update | |
sudo apt install libsuitesparse-dev | |
sudo apt install liblapacke-dev | |
sudo apt install libunistring-dev | |
python -m pip install --upgrade pip | |
python -m pip install regex colored | |
- name: make | |
run: | | |
mkdir build | |
cd build | |
cmake -DMORPHO_DISABLENANBOXING=ON .. | |
sudo make install | |
sudo mkdir /usr/local/lib/morpho | |
- name: getcli | |
run: | | |
git clone https://github.com/Morpho-lang/morpho-cli.git | |
cd morpho-cli | |
mkdir build | |
cd build | |
cmake -DMORPHO_DISABLENANBOXING=ON .. | |
sudo make install | |
- name: test | |
run: | | |
cd test | |
python3 test.py -c |