Skip to content

Commit

Permalink
Merge pull request #475 from KimBioInfoStudio/master
Browse files Browse the repository at this point in the history
fix ci
  • Loading branch information
sfchen committed Mar 23, 2023
2 parents 8767e5d + 90583eb commit 42c2a20
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 45 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -16,29 +16,36 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout scm
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install build dependencies (Ubuntu)
run: sudo apt update && sudo apt install -y build-essential nasm
if: runner.os == 'Linux'

- name: install build dependencies (MacOS)
run: brew install automake autoconf coreutils nasm
if: runner.os == 'macOS'

- name: get deflate
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: ebiggers/libdeflate
path: src/libs/deflate

- name: build deflate
run: |
cd src/libs/deflate
bash -c 'make -j $(nproc)'
sudo make install
cmake -B build
cmake --build build
sudo cmake --install build
cd -
- name: get isa-l
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: intel/isa-l
path: src/libs/isa-l

- name: build isa-l
run: |
cd src/libs/isa-l
Expand All @@ -47,11 +54,14 @@ jobs:
bash -c 'make -j $(nproc)'
sudo make install
cd -
- name: make fatsp (MacOS)
run: bash -c 'make -j $(nproc)'
if: runner.os == 'macOS'

- name: make fastp static (Ubuntu)
run: bash -c 'make -j $(nproc) static'
if: runner.os == 'Linux'

- name: test
run: chmod a+x ./fastp && ./fastp --version
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 42c2a20

Please sign in to comment.