taliastocks is testing refs/heads/ylt #235
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: Unit Tests | |
run-name: ${{ github.actor }} is testing ${{ github.ref }} | |
on: [push] | |
jobs: | |
UnitTests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Cache library dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
libyaml/ | |
lua/ | |
key: "library-deps-${{ hashFiles('Make-libyaml.mk', 'Make-lua.mk') }}" | |
- name: Build binary | |
run: make YL_LDLIBS='-llua -lyaml -lm' | |
- name: Run tests | |
run: ./test.sh |