-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cmake-tweaks' into graviton2
- Loading branch information
Showing
3 changed files
with
38 additions
and
15 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
FROM ubuntu:18.04 | ||
RUN apt-get update | ||
RUN apt-get install -y g++ make zlib1g-dev gzip bzip2 cmake python --no-install-recommends | ||
|
||
COPY . /root/megahit | ||
WORKDIR /root/megahit | ||
RUN rm -rf build | ||
RUN mkdir -p build | ||
WORKDIR build | ||
RUN cmake -DCMAKE_BUILD_TYPE=Release .. | ||
RUN make -j4 | ||
RUN make install | ||
RUN megahit --test | ||
RUN megahit --test --kmin-1pass | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
bzip2 \ | ||
cmake \ | ||
gzip \ | ||
g++ \ | ||
libgomp1 \ | ||
make \ | ||
python \ | ||
zlib1g-dev && \ | ||
rm -rf build && \ | ||
mkdir -p build && \ | ||
cd build && \ | ||
cmake -DCMAKE_BUILD_TYPE=Release .. && \ | ||
make -j4 install && \ | ||
apt-get autoremove --purge -y \ | ||
cmake \ | ||
g++ \ | ||
make \ | ||
zlib1g-dev | ||
|
||
RUN megahit --test && megahit --test --kmin-1pass | ||
ENTRYPOINT ["megahit"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
trigger: | ||
paths: | ||
exclude: | ||
- '*.md' | ||
- Dockerfile | ||
- .travis.yml | ||
|
||
jobs: | ||
- job: ubuntu_1604 | ||
pool: | ||
|