Initial commit of lwipovpn #2
This file contains 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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
installdeps: sudo apt install -y ninja-build cmake | |
compiler: clang | |
- os: ubuntu-latest | |
installdeps: sudo apt install -y ninja-build cmake | |
compiler: gcc | |
- os: macos-latest | |
installdeps: brew install cmake | |
compiler: clang | |
runs-on: ${{matrix.os}} | |
name: "${{matrix.os}} - ${{matrix.compiler}}" | |
env: | |
CC: ${{ matrix.compiler }} | |
LSAN_OPTIONS: verbosity=1:log_threads=1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install deps | |
run: ${{matrix.installdeps }} | |
- name: Run cmake | |
run: cmake -B lwipovpn-build | |
- name: Build with cmake | |
run: cmake --build lwipovpn-build |