Skip to content

Fix package name

Fix package name #15

Workflow file for this run

name: Examples
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: configure
run: |
sudo apt update
sudo apt install libglfw3-dev
sudo apt install povray
sudo apt install libfreetype6-dev
sudo apt install fonts-freefont-ttf
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 -DCMAKE_BUILD_TYPE=Release ..
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 ..
sudo make install
- name: morphoview
run: |
git clone https://github.com/morpho-lang/morpho-morphoview.git
cd morpho-morphoview
mkdir build
cd build
cmake ..
sudo make install
- name: test
run: |
cd examples
python3 examples.py -c