Merge pull request #108 from denyadzi/multipart-bug-fixes #111
This file contains hidden or 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 |