diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2aa6d08 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: ci +on: + push: + pull_request: + workflow_dispatch: +jobs: + ci: + strategy: + fail-fast: false # https://github.com/actions/runner-images#available-images + matrix: # https://www.lua.org/versions.html + lua-version: [lua5.1, lua5.2, lua5.3, lua5.4, lua5.5] + runs-on: ubuntu-26.04 + steps: + - run: sudo apt-get update + - run: sudo apt-get install -y ${{ matrix.lua-version }} lib${{ matrix.lua-version }}-dev luarocks + - run: lua -h || lua -v + - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 + with: + python-version: 3.x + - run: pip install --upgrade pip + - run: luarocks install --local lunatic-python + - run: echo "${{ runner.os }} on ${{ runner.arch }}" + # TODO: Always fails even with $PYTHON_LIBRT defined! + - env: + PYTHON_LIBRT: "amd64" # "x64" + run: pip install --editable .