mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-08-11 10:27:10 +02:00
Add filex excluded by the gitignore.
This commit is contained in:
46
vendor/MaxmindDB/.github/workflows/test.yml
vendored
Normal file
46
vendor/MaxmindDB/.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
name: Run tests
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '3 20 * * SUN'
|
||||
jobs:
|
||||
test-autoconf:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
cc: [gcc, clang]
|
||||
posix: ['', -D_POSIX_C_SOURCE=200112L]
|
||||
name: Autotools build on ${{matrix.os}} using ${{matrix.cc}} ${{matrix.posix}}
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
CC: ${{ matrix.cc }}
|
||||
VERBOSE: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- run: sudo apt install libipc-run3-perl
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
- run: brew install autoconf automake libtool
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
- run: ./bootstrap
|
||||
- run: ./configure
|
||||
env:
|
||||
CFLAGS: -std=c99 -Wall -Wextra -Werror -Wno-unused-function -Wno-unused-parameter ${{ matrix.posix }}
|
||||
- run: make
|
||||
- run: make check
|
||||
|
||||
test-cmake:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
name: CMake build on ${{matrix.os}}
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- run: cmake -DBUILD_TESTING=ON -V .
|
||||
- run: cmake --build .
|
||||
- run: ctest -V .
|
Reference in New Issue
Block a user