fix illegal instruction on platform has avx only #18
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
name: build & test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Super-linter | |
uses: super-linter/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
clang-format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Clang format | |
run: sudo apt-get install clang-format | |
- name: Run Clang format check | |
run: make fmt | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: vsaglib/vsag:ubuntu | |
steps: | |
- uses: actions/checkout@v4 | |
- name: load cache | |
uses: actions/[email protected] | |
with: | |
path: ./build/ | |
key: build-${{ hashFiles('./CMakeLists.txt') }}-${{ hashFiles('./.circleci/fresh_ci_cache.commit') }} | |
- name: make asan | |
run: make asan | |
- name: save cache | |
uses: actions/[email protected] | |
with: | |
path: ./build/ | |
key: build-${{ hashFiles('./CMakeLists.txt') }}-${{ hashFiles('./.circleci/fresh_ci_cache.commit') }} | |
- name: make test | |
run: make test_asan_parallel |