add cmocka
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -15,6 +15,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: download munit
|
- name: download munit
|
||||||
run: git submodule init && git submodule update
|
run: git submodule init && git submodule update
|
||||||
|
- name: install cmocka
|
||||||
|
run: sudo apt install -y libcmocka-dev
|
||||||
- name: configure
|
- name: configure
|
||||||
run: ./configure
|
run: ./configure
|
||||||
- name: build tests
|
- name: build tests
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -4,10 +4,14 @@ Files for tbaMUD.
|
|||||||
|
|
||||||
## To build
|
## To build
|
||||||
|
|
||||||
1. clone the munit library into src/munit. It is registered as a submodule in git `git submodule init`
|
1. run configure: `./configure`
|
||||||
2. run configure: `./configure`
|
2. build the code: `cd src && make`
|
||||||
3. build the code: `cd src && make`
|
3. run the mud: `cd ..; bin/circle 1234`
|
||||||
4. run the mud: `cd ..; bin/circle 1234`
|
4. connect via telnet to port 1234.
|
||||||
5. connect via telnet to port 1234.
|
|
||||||
|
|
||||||
Read more in the doc/ folder
|
Read more in the doc/ folder
|
||||||
|
|
||||||
|
## To run the tests
|
||||||
|
|
||||||
|
1. clone the munit library into src/munit. It is registered as a submodule in git `git submodule init`
|
||||||
|
2. install the cmocka-library: `sudo apt install libcmocka-dev`
|
||||||
|
|||||||
Reference in New Issue
Block a user