Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ci #475

Merged
merged 5 commits into from Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.