xor: add option to encode with pthreads #38
Workflow file for this run
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: redset build only | |
permissions: | |
actions: write | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
target: [Debug, Release] | |
static: [both, static] | |
name: ${{ matrix.os }}-${{ matrix.target }}-${{ matrix.static }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
path: redset | |
fetch-depth: 0 | |
- name: get deps | |
uses: ecp-veloc/github-actions/get-scr-os-deps@main | |
with: | |
os: ${{ matrix.os }} | |
#- name: get nvcc (Linux) | |
# if: startsWith(matrix.os, 'ubuntu') | |
# shell: bash | |
# run: | | |
# sudo apt-get install nvidia-cuda-toolkit | |
- name: install kvtree | |
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main | |
with: | |
component: kvtree | |
- name: install rankstr | |
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main | |
with: | |
component: rankstr | |
- name: configure | |
uses: ecp-veloc/github-actions/cmake-configure@main | |
with: | |
component: redset | |
target: ${{ matrix.target }} | |
static: ${{ matrix.static == 'static' }} | |
- name: build | |
uses: ecp-veloc/github-actions/cmake-build@main | |
with: | |
component: redset | |
- name: test | |
if: false | |
uses: ecp-veloc/github-actions/cmake-test@main | |
with: | |
component: redset |