Skip to content

Commit

Permalink
Fixing test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
scaprile committed Sep 12, 2023
1 parent 53baa18 commit bfa65a1
Show file tree
Hide file tree
Showing 4 changed files with 402 additions and 387 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,20 @@ jobs:
target: [test, mip_test]
ssl: [none, MBEDTLS] #ssl: [none, MBEDTLS, OPENSSL]
select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"]
exclude:
- ssl: MBEDTLS
select: ${{ matrix.select }}
# include:
# - ssl: none
# select: "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0"
# - ssl: none
# select: "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0"
# select: "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1" is default for Linux and already included above
name: linux ${{ matrix.target }} CC=${{ matrix.cc }} SSL=${{ matrix.ssl }} TFLAGS=${{ matrix.select }}
env:
CC: ${{ matrix.cc }}
SSL: ${{ matrix.ssl }}
TFLAGS: {{ matrix.select }}
TFLAGS: ${{ matrix.select }}
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 2 }
Expand Down Expand Up @@ -57,13 +66,14 @@ jobs:
macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
ssl: [none] #ssl: [none, MBEDTLS, OPENSSL]
select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"]
name: macos SSL=${{ matrix.ssl }} TFLAGS=${{ matrix.select }}
env:
SSL: ${{ matrix.ssl }}
TFLAGS: {{ matrix.select }}
TFLAGS: ${{ matrix.select }}
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- uses: actions/checkout@v3
Expand All @@ -80,12 +90,16 @@ jobs:
windows:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [vc98, vc17, vc22, mingw, mingw++]
select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"]
select: [-DMG_ENABLE_POLL=0, -DMG_ENABLE_POLL=1]
exclude:
- target: vc98
select: -DMG_ENABLE_POLL=1
name: windows ${{ matrix.target }} TFLAGS=${{ matrix.select }}
env:
TFLAGS: {{ matrix.select }}
TFLAGS: ${{ matrix.select }}
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 2 }
Expand Down
Loading

0 comments on commit bfa65a1

Please sign in to comment.