converted hmac_utils.mqh and test_hmac.mq5 from UTF‑16 LE (each begin… #27
This file contains hidden or 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: CI-macOS | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| - stable | |
| pull_request: | |
| branches: | |
| - main | |
| - release/** | |
| - codex/** | |
| jobs: | |
| Tests-macOS: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| std: [11, 17] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: | | |
| brew update | |
| brew uninstall --ignore-dependencies cmake || true | |
| brew install cmake | |
| - name: Configure | |
| run: cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_CXX_STANDARD=${{ matrix.std }} | |
| - name: Build | |
| run: cmake --build build | |
| - name: Run tests | |
| run: cd build && ctest --output-on-failure | |
| vcpkg: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install vcpkg | |
| run: | | |
| git clone https://github.com/microsoft/vcpkg.git | |
| ./vcpkg/bootstrap-vcpkg.sh | |
| ./vcpkg/vcpkg install gtest | |
| - name: Configure | |
| run: cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake | |
| - name: Build | |
| run: cmake --build build | |
| - name: Run tests | |
| run: cd build && ctest --output-on-failure |