fix CI build steps
This commit is contained in:
@@ -22,12 +22,12 @@ jobs:
|
||||
|
||||
- name: Install libraries (Linux)
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
run: sudo apt-get install -y libevent-dev
|
||||
run: sudo apt-get install -y cmake libasio-dev
|
||||
|
||||
- name: Install libraries (macOS)
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: |
|
||||
brew install libevent
|
||||
brew install cmake asio libiconv
|
||||
|
||||
cat << EOF > nproc
|
||||
#!/bin/sh
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ RUN apt update && apt install -y --no-install-recommends \
|
||||
make \
|
||||
cmake \
|
||||
g++ \
|
||||
libevent-dev \
|
||||
libasio-dev \
|
||||
zlib1g-dev
|
||||
|
||||
# ---
|
||||
@@ -72,7 +72,7 @@ RUN cp -f system/config.example.json system/config.json && \
|
||||
FROM ${BASE_IMAGE} AS final
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
libevent-dev \
|
||||
libasio-dev \
|
||||
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||
|
||||
WORKDIR /newserv
|
||||
|
||||
Reference in New Issue
Block a user