Update sources and spec tests to match cmark 0.31.1 release. #11
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: CI tests | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: leafo/gh-actions-lua@v9 | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: Build and test | |
run: | | |
export VERSION=`grep CMARK_VERSION_STRING ext/cmark_version.h | awk '{gsub(/["]/,""); print $3}'` | |
export REVISION=1 | |
sed -e "s/_VERSION/${VERSION}/g; s/_REVISION/${REVISION}/g" < rockspec.in > cmark-${VERSION}-${REVISION}.rockspec | |
luarocks --local make cmark-${VERSION}-${REVISION}.rockspec | |