Ci build baresip apps #689
Workflow file for this run
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: OpenSSL no-deprecated and LibreSSL | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ssl: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ssl: [libressl, openssl] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: sreimers/pr-dependency-action@v0.6 | |
with: | |
name: re | |
repo: https://github.com/baresip/re | |
secret: ${{ secrets.GITHUB_TOKEN }} | |
- name: make re | |
run: | | |
for p in re; do | |
cmake -S $p -B $p/build | |
cmake --build $p/build -j | |
done | |
for p in re; do | |
mv $p ../. | |
done | |
sudo ldconfig | |
- name: make baresip | |
run: cmake -B build -DCMAKE_C_FLAGS="-Iassets/${{ matrix.ssl }}/include -Werror" -DCMAKE_EXE_LINKER_FLAGS="-Lassets/${{ matrix.ssl }}" && cmake --build build -j |