forked from PrincetonUniversity/PsyNeuLinkView
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.26 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build
on: [pull_request]
jobs:
build_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 18.19
- name: install meta-diagram
run: bash installation.sh -i
- name: install dependencies
run: yarn
- name: build
run: yarn build
- name: package
run: yarn linux64
- name: archive
run: tar -czf linux.tar.gz ./psyneulinkviewer-linux-x64
build_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 18.19
- name: create conda symlink
run: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh && bash ~/miniconda.sh -b -p $HOME/miniconda && source $HOME/miniconda/bin/activate && conda init
- name: extra steps
run: source $HOME/miniconda/bin/activate && conda --version
- name: install meta-diagram
run: source $HOME/miniconda/bin/activate && bash installation.sh -i
- name: install dependencies
run: yarn
- name: build
run: yarn build
- name: package
run: yarn osx
- name: archive
run: tar -czf osx.tar.gz ./psyneulinkviewer-darwin-x64