Skip to content

Update sources and spec tests to match cmark 0.31.1 release. #12

Update sources and spec tests to match cmark 0.31.1 release.

Update sources and spec tests to match cmark 0.31.1 release. #12

Workflow file for this run

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