Skip to content

Commit

Permalink
GHA: refactor mingw UTs and add missing tls_crypt
Browse files Browse the repository at this point in the history
I thought instead about moving this into a loop inside
powershell. But then error handling becomes annoying.
So let's GitHub handle it.

Change-Id: I9831f352c07b5c58a4e2d6a3dd5417842e0887d2
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Arne Schwabe <[email protected]>
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg26868.html
Signed-off-by: Gert Doering <[email protected]>
  • Loading branch information
flichtenheld authored and cron2 committed Jul 18, 2023
1 parent c3746da commit 26c663f
Showing 1 changed file with 4 additions and 34 deletions.
38 changes: 4 additions & 34 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,48 +85,18 @@ jobs:
fail-fast: false
matrix:
arch: [x86, x64]
test: [argv, auth_token, buffer, cryptoapi, crypto, misc, ncp, packet_id, pkt, provider, tls_crypt]

runs-on: windows-latest
name: "mingw unittests - ${{ matrix.arch }} - OSSL"
name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL"
steps:
- name: Retrieve mingw unittest
uses: actions/download-artifact@v3
with:
name: openvpn-mingw-${{ matrix.arch }}-tests
path: unittests

- name: List unittests directory
run: "dir unittests"

- name: Run argv unit test
run: ./unittests/test_argv.exe

- name: Run auth_token unit test
run: ./unittests/test_auth_token.exe

- name: Run buffer unit test
run: ./unittests/test_buffer.exe

- name: Run cryptoapi unit test
run: ./unittests/test_cryptoapi.exe

- name: Run crypto unit test
run: ./unittests/test_crypto.exe

- name: Run misc unit test
run: ./unittests/test_misc.exe

- name: Run ncp unit test
run: ./unittests/test_ncp.exe

- name: Run packet id unit test
run: ./unittests/test_packet_id.exe

- name: Run pkt unit test
run: ./unittests/test_pkt.exe

- name: Run provider unit test
run: ./unittests/test_provider.exe
- name: Run ${{ matrix.test }} unit test
run: ./unittests/test_${{ matrix.test }}.exe

ubuntu:
strategy:
Expand Down

0 comments on commit 26c663f

Please sign in to comment.