Alexey-Sagaydak run CI #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
name: client | |
path: ./client/http-client.deb | |
- run: sh create_debpkg_server.sh | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: server | |
path: ./server/http-server.deb |