Skip to content

add -O3 and -fPIC to cmake #122

add -O3 and -fPIC to cmake

add -O3 and -fPIC to cmake #122

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
check-build:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/fastavector-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: cmake .
- run: make
check-build-mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v1
- run: cmake -DCMAKE_C_COMPILER=`which gcc-10` .
- run: make
check-legacy-build:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/fastavector-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: make -f Makefile_legacy
- run: make -f Makefile_legacy static
check-legacy-build-mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v1
- run: make -f Makefile_legacy CC=`which gcc-10`
- run: make -f Makefile_legacy static CC=`which gcc-10`
check-tests:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/fastavector-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: cmake .
- run: make
- run: make test
check-format:
runs-on: ubuntu-20.04
container:
image: traviswheelerlab/fastavector-build
volumes:
- ${{ github.workspace }}:/code
steps:
- uses: actions/checkout@v1
- run: ./tool/check-format.sh || true