Skip to content

Bump rexml from 3.2.5 to 3.3.3 in /docs #1029

Bump rexml from 3.2.5 to 3.3.3 in /docs

Bump rexml from 3.2.5 to 3.3.3 in /docs #1029

Workflow file for this run

name: "test"
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
cc: [gcc, clang]
exclude:
- os: macos-latest
cc: gcc
- os: windows-latest
cc: clang
runs-on: ${{matrix.os}}
env:
CC: ${{matrix.cc}}
CFLAGS: -Wextra -Werror -Wno-implicit-fallthrough
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Show C compiler information
run: ${{matrix.cc}} -v
- name: Compile
run: make CC=${{matrix.cc}}
- name: Test
run: make test CC=${{matrix.cc}}
- name: Install (Unix)
if: ${{ matrix.os != 'windows-latest' }}
run: sudo make install
- name: Install (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: make install
- name: Run hello world example
if: ${{ matrix.os != 'windows-latest' }}
run: nelua --verbose examples/helloworld.nelua
test-32bits:
runs-on: ubuntu-latest
env:
CFLAGS: -m32
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install gcc-multilib
- name: Compile
run: make
- name: Test
run: make test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
- name: Install luacov
run: luarocks install cluacov
- name: Coverage
run: |
echo "return {}" > .neluacfg.lua
make coverage-test
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
- name: Install luacheck
run: luarocks install luacheck
- name: Check
run: luacheck .
sanitize:
runs-on: ubuntu-latest
env:
CFLAGS: -fsanitize=address -fsanitize=undefined
steps:
- uses: actions/checkout@master
- name: Compile
run: make
- name: Test
run: make test