fixing packaging #4
Workflow file for this run
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: Build | |
on: [push, 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 linux64 | |
- name: package | |
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: ln -s $CONDA/bin/conda /usr/bin/conda | |
- name: install meta-diagram | |
run: bash installation.sh -i | |
- name: install dependencies | |
run: yarn | |
- name: build | |
run: yarn osx | |
- name: package | |
run: yarn package:osx | |
- name: package | |
run: tar -czf osx.tar.gz ./psyneulinkviewer-darwin-x64 | |
# build_on_win: | |
# runs-on: windows-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-node@master | |
# with: | |
# node-version: 14 | |
# - name: install dependencies | |
# run: npm install | |
# - name: build | |
# run: npm run make |