mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
Add newline at EOF; re-merge cmake steps
This commit is contained in:
parent
03d4d84eeb
commit
a06fa39a5d
8
.github/workflows/build-and-test.yml
vendored
8
.github/workflows/build-and-test.yml
vendored
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <cstdio>
|
||||
|
||||
#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; }}
|
||||
#define ASSERT_NE(a,b) { if (!(a != b)) { printf("Failed assertion: " #a " != " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }}
|
||||
|
Loading…
Reference in New Issue
Block a user