Skip to content

Commit

Permalink
Workflow matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kportertx committed Oct 12, 2023
1 parent cdbb052 commit 871eb37
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: [master, stage]

jobs:
lib_matrix:
strategy:
matrix:
evlib: [libev, libuv, libevent]
build:
runs-on: ubuntu-latest
env:
Expand All @@ -19,14 +23,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Aerospike Database
uses: reugn/github-action-aerospike@v1
- run: ./install_libev
- run: make EVENT_LIB=libev
- run: make EVENT_LIB=libev test
- run: make clean
- run: ./install_libuv
- run: make EVENT_LIB=libuv
- run: make EVENT_LIB=libuv test
- run: make clean
- run: ./install_libevent
- run: make EVENT_LIB=libevent
- run: make EVENT_LIB=libevent test
- run: ./install_${{ lib_matrix.evlib }}
- run: make EVENT_LIB=${{ lib_matrix.evlib }}
- run: make EVENT_LIB=${{ lib_matrix.evlib }} test

0 comments on commit 871eb37

Please sign in to comment.