Merge pull request #107 from noocsharp/noocsharp-patch-1-2 #109
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: 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 |