Skip to content

edit yaml

edit yaml #12

Workflow file for this run

name: CI
run-name: ${{ github.actor }} run CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get install g++ make cmake
- run: sudo apt-get install -y libboost-all-dev
- run: cd client && mkdir -p build && cd build && cmake .. && make && cd ../../server && mkdir -p build && cd build && cmake .. && make
- run: cd ../..
- run: sh create_debpkg_client.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: client
path: ./client/http-client.deb
- run: sh create_debpkg_server.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: server
path: ./server/http-server.deb
tests:
- name: Install client

Check failure on line 28 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 28
run: sudo dpkg -i ./client/http-client.deb
- name: Test client
run: libhv-client
- name: Install server
run: sudo dpkg -i ./server/http-server.deb
- name: Test server
run: libhv-http