Skip to content

Merge pull request #107 from noocsharp/noocsharp-patch-1-2 #109

Merge pull request #107 from noocsharp/noocsharp-patch-1-2

Merge pull request #107 from noocsharp/noocsharp-patch-1-2 #109

Workflow file for this run

name: Test and Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install backing for building janet
run: sudo apt install build-essential
- name: build janet
run: |
git clone --depth 1 --branch v1.27.0 https://github.com/janet-lang/janet.git /tmp/janet
cd /tmp/janet
sudo make all test install
- name: install jpm
run: |
git clone --depth 1 https://github.com/janet-lang/jpm.git /tmp/jpm
cd /tmp/jpm
sudo janet bootstrap.janet
- name: install joy
run: sudo jpm install joy
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install backing for building janet
run: sudo apt install build-essential
- name: build janet
run: |
git clone --depth 1 --branch v1.27.0 https://github.com/janet-lang/janet.git /tmp/janet
cd /tmp/janet
sudo make all test install
- name: install jpm
run: |
git clone --depth 1 https://github.com/janet-lang/jpm.git /tmp/jpm
cd /tmp/jpm
sudo janet bootstrap.janet
- name: install joy
run: sudo jpm install joy
- name: run tests
run: sudo jpm test