Skip to content

Commit

Permalink
Use a pre-set docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonRolev committed Sep 26, 2024
1 parent 9872ef0 commit 9e195c2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/actions/build-linux/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu

RUN apt-get update -y \
&& apt install curl -y \
&& apt-get install g++ -y \
&& apt-get install -y libboost-all-dev \
&& apt-get install -y libcurl4-openssl-dev \
&& apt-get install -y cmake

RUN apt install unzip -y

RUN mkdir xerces-c \
&& cd xerces-c \
&& curl -o xerces-c.zip https://dlcdn.apache.org//xerces/c/3/sources/xerces-c-3.2.5.zip \
&& unzip xerces-c.zip -d . && mv xerces-c-*/* .

RUN cd xerces-c \
&& ./configure --disable-shared --enable-xmlch-uint16_t --prefix=$(pwd)/_build \
&& make -j \
&& make install
1 change: 1 addition & 0 deletions .github/workflows/linux-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container: simeonrolev/mvr-lib-linux
steps:
- uses: actions/checkout@v4 # https://github.com/nektos/act/issues/307
- name: Build
Expand Down

0 comments on commit 9e195c2

Please sign in to comment.