diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cd763ca7..1f4d0dca 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,17 +15,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: true - - name: cmake-configure + - name: cmake uses: lukka/run-cmake@v10 with: configurePreset: 'default' - - name: cmake-build - uses: lukka/run-cmake@v10 - with: buildPreset: 'default' - - name: cmake-test - uses: lukka/run-cmake@v10 - with: testPreset: 'default' - name: artifacts uses: actions/upload-artifact@v2 diff --git a/tests/CommonCxxTests.h b/tests/CommonCxxTests.h index 8d2dbbab..f1894927 100644 --- a/tests/CommonCxxTests.h +++ b/tests/CommonCxxTests.h @@ -1,4 +1,4 @@ #include #define ASSERT_EQ(a,b) { if (!(a == b)) { printf("Failed assertion: " #a " == " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }} -#define ASSERT_NE(a,b) { if (!(a != b)) { printf("Failed assertion: " #a " != " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }} \ No newline at end of file +#define ASSERT_NE(a,b) { if (!(a != b)) { printf("Failed assertion: " #a " != " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }}