Skip to content

Commit 325dd9f

Browse files
Add GitHub Actions workflow for NoNANBoxing-2
1 parent 89d9272 commit 325dd9f

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/nonanboxing2.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: NoNANBoxing-2
2+
3+
on:
4+
push:
5+
branches: [ "dev" ]
6+
pull_request:
7+
branches: [ "dev" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: configure
17+
run: |
18+
sudo apt update
19+
sudo apt install libsuitesparse-dev
20+
sudo apt install liblapacke-dev
21+
sudo apt install libunistring-dev
22+
python -m pip install --upgrade pip
23+
python -m pip install regex colored
24+
- name: make
25+
run: |
26+
mkdir build
27+
cd build
28+
cmake -DMORPHO_DISABLENANBOXING=ON ..
29+
sudo make install
30+
sudo mkdir /usr/local/lib/morpho
31+
- name: getcli
32+
run: |
33+
git clone https://github.com/Morpho-lang/morpho-cli.git
34+
cd morpho-cli
35+
mkdir build
36+
cd build
37+
sudo make install
38+
- name: test
39+
run: |
40+
cd test
41+
morpho6 for_in/forin.morpho

0 commit comments

Comments
 (0)