Skip to content

Commit

Permalink
Run CI with system libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
roehling committed Apr 14, 2024
1 parent 6c15e5f commit 72a6ba1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,21 @@ jobs:
run: |
postmap -q [email protected] socketmap:unix:/var/spool/postfix/srs:forward | tee /tmp/srs-alias.txt
postmap -q "$(cat /tmp/srs-alias.txt)" socketmap:unix:/var/spool/postfix/srs:reverse
packaging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y cmake libconfuse-dev libhiredis-dev libsqlite3-dev redis
- name: Build PostSRSd
run: |
mkdir _build
cd _build
cmake .. -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS -DWITH_SQLITE=ON -DWITH_REDIS=ON
make VERBOSE=ON
- name: Run tests
run: |
cd _build
ctest --output-on-failure

0 comments on commit 72a6ba1

Please sign in to comment.