added futher development via submodule #33
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++ Binary build with OpenMP | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: clean | |
run: make clean | |
- name: make (run) | |
working-directory: ./ | |
env: | |
OMP_NUM_THREADS: 8 | |
run: | | |
sudo apt-get update; sudo apt-get install -y libomp5 libomp-dev | |
echo OMP_NUM_THREADS:$OMP_NUM_THREADS | |
echo OMP_SCHEDULE:$OMP_SCHEDULE | |
echo OMP_DYNAMIC:$OMP_DYNAMIC | |
echo OMP_NESTED:$OMP_NESTED | |
make | |
ldd ./bin/K-Means |