about summary refs log tree commit diff stats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarc <foxtrot@malloc.me>2021-12-17 18:52:36 +0000
committerMarc <foxtrot@malloc.me>2021-12-17 19:31:25 +0000
commitcd1df65dc36ac35d526de195284d5ebf18e1f92b (patch)
treefc0c163cd9f86d452fec1eb90d48a22d67cf4256 /.github/workflows
parent8e09d29df19312583747a3de00fe4269c17e6586 (diff)
downloadlibwifi-cd1df65dc36ac35d526de195284d5ebf18e1f92b.tar.gz
libwifi-cd1df65dc36ac35d526de195284d5ebf18e1f92b.tar.bz2
libwifi-cd1df65dc36ac35d526de195284d5ebf18e1f92b.zip
test: Add ctests for generation functions.
This commit also enforces error code checking on functions inside of
the generation functions, such as for `libwifi_quick_add_tag`.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/x86_64.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/x86_64.yml b/.github/workflows/x86_64.yml index 844a109..cc90e1d 100644 --- a/.github/workflows/x86_64.yml +++ b/.github/workflows/x86_64.yml
@@ -22,6 +22,43 @@ jobs:
22 run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE 22 run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
23 23
24 - name: Build X86_64 24 - name: Build X86_64
25 shell: bash
26 working-directory: ${{github.workspace}}/build
27 run: cmake --build . --config $BUILD_TYPE
28
29 test:
30 runs-on: ubuntu-latest
31
32 steps:
33 - uses: actions/checkout@v2
34
35 - name: Create Build Environment
36 run: cmake -E make_directory ${{github.workspace}}/build
37
38 - name: Configure CMake
39 shell: bash
25 working-directory: ${{github.workspace}}/build 40 working-directory: ${{github.workspace}}/build
41 run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
42
43 - name: Build X86_64
26 shell: bash 44 shell: bash
45 working-directory: ${{github.workspace}}/build
27 run: cmake --build . --config $BUILD_TYPE 46 run: cmake --build . --config $BUILD_TYPE
47
48 - name: Create Test Environment
49 run: cmake -E make_directory ${{github.workspace}}/test/build
50
51 - name: Configure CMake
52 shell: bash
53 working-directory: ${{github.workspace}}/test/build
54 run: cmake ${{github.workspace}}/test
55
56 - name: Build Tests
57 shell: bash
58 working-directory: ${{github.workspace}}/test/build
59 run: cmake --build .
60
61 - name: Test X86_64
62 shell: bash
63 working-directory: ${{github.workspace}}/test/build
64 run: ctest --output-on-failure