Skip to content

Improve Dockerfile #273

Improve Dockerfile

Improve Dockerfile #273

Workflow file for this run

name: Build
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- run: sudo apt install -y cmake gcc-12 g++-12 ninja-build
- run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
- run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10
- run: mkdir build && cd build && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF && ninja
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: proxy_server
path: build/bin/proxy_server