Swap localtime_s to localtime #211
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: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
- 57-add-support-for-adjustment-layers | |
pull_request: | |
branches: | |
- master | |
release: | |
types: | |
- published | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Ubuntu GCC | |
os: ubuntu-24.04 | |
compiler: gcc-13 | |
compilercxx: g++-13 | |
- name: Ubuntu Clang | |
os: ubuntu-24.04 | |
compiler: clang | |
compilercxx: clang++ | |
- name: Windows MSVC | |
os: windows-latest | |
compiler: msvc | |
compilercxx: msvc | |
- name: MacOS ARM GCC | |
os: macos-latest | |
compiler: gcc-13 | |
compilercxx: g++-13 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Load or restore vcpkg libraries | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgDirectory: '${{ github.workspace }}/thirdparty/vcpkg' | |
- name: Configure CMake ${{ matrix.os }}-${{ matrix.compilercxx }} | |
env: | |
CC: ${{ matrix.compiler }} | |
CXX: ${{ matrix.compilercxx }} | |
run: | | |
cmake -B ${{github.workspace}}/build -DVCPKG_OSX_DEPLOYMENT_TARGET="12" -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DPSAPI_BUILD_DOCS=OFF -DPSAPI_BUILD_BENCHMARKS=OFF -DPSAPI_BUILD_EXAMPLES=ON -DPSAPI_BUILD_PYTHON=OFF | |
- name: Build ${{ matrix.os }}-${{ matrix.compilercxx }} | |
# Build your program with the given configuration | |
env: | |
CC: ${{ matrix.compiler }} | |
CXX: ${{ matrix.compilercxx }} | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} |