Skip to content

update samples of QMC in finite_temperature_calculations #223

update samples of QMC in finite_temperature_calculations

update samples of QMC in finite_temperature_calculations #223

Workflow file for this run

name: macOS
on:
push:
pull_request:
schedule:
- cron: '0 0 1,15 * *' # JST 9:00 AM, 1st and 15th of every month
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-13]
compiler: [c++, g++-14, g++-12]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: pip install
run: |
python3 -m pip install -U pip
python3 -m pip install numpy scipy toml
- name: make workspace
run: cmake -E make_directory ${{runner.workspace}}/build
- name: cmake
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE
- name: build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build ./ -j4
- name: ctest
working-directory: ${{runner.workspace}}/build
shell: bash
run: OMP_NUM_THREADS=1 ctest -V