server: tests: ci adding container to specify server port and allow the server to listen to
This commit is contained in:
parent
2f756f84df
commit
6a215e5359
1 changed files with 6 additions and 2 deletions
8
.github/workflows/server-test.yml
vendored
8
.github/workflows/server-test.yml
vendored
|
@ -15,6 +15,10 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu-latest-cmake:
|
ubuntu-latest-cmake:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ubuntu:latest
|
||||||
|
ports:
|
||||||
|
- 8888
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
|
@ -24,8 +28,8 @@ jobs:
|
||||||
- name: Dependencies
|
- name: Dependencies
|
||||||
id: depends
|
id: depends
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
apt-get update
|
||||||
sudo apt-get install build-essential
|
apt-get -y install build-essential
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: cmake_build
|
id: cmake_build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue