fix glibc ver #124
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: C/C++ CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-macos: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: make | |
working-directory: ./ | |
run: KUN_BUILD_TESTS=1 pip install . -v | |
test-linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
cache: 'pip' # caching pip dependencies | |
- run: pip install -r .github/workflows/requirements.txt | |
- name: Cache SDE | |
id: cache-intel-sde | |
uses: actions/cache@v4 | |
with: | |
path: sde-external-9.38.0-2024-04-18-lin.tar.xz | |
key: ${{ runner.os }}-intel-sde | |
- name: Download SDE | |
if: steps.cache-intel-sde.outputs.cache-hit != 'true' | |
run: wget -nv https://downloadmirror.intel.com/823664/sde-external-9.38.0-2024-04-18-lin.tar.xz | |
- name: Extract SDE | |
run: tar -xf sde-external-9.38.0-2024-04-18-lin.tar.xz | |
- name: make | |
working-directory: ./ | |
run: KUN_BUILD_TESTS=1 pip install . -v | |
- name: download data | |
working-directory: ./ | |
run: wget -nv -P /tmp https://github.com/Menooker/KunQuant/releases/download/alpha158/alpha158.npz && wget -P /tmp https://github.com/Menooker/KunQuant/releases/download/alpha158/input.npz | |
- name: test | |
working-directory: ./ | |
run: PATH="$PATH:./sde-external-9.38.0-2024-04-18-lin/" bash ./tests/tests.sh |