From 01d893b10799040266451d50d483db8a38b86fba Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Aug 2024 17:47:43 +0300 Subject: [PATCH] Fix OSX build architecture. --- .github/workflows/cmake-build.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 14431b3..97e4929 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -12,9 +12,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - include: - - os: macos-latest - arch: x86_64 steps: - name: Checkout code @@ -31,21 +28,20 @@ jobs: sudo apt-get update sudo apt-get install -y libspeechd-dev + + - name: Configure CMake - run: | - if [ "${{ matrix.arch }}" == "x86_64" ]; then - cmake . -B build -DCMAKE_OSX_ARCHITECTURES=x86_64 - else - cmake . -B build - fi + run: cmake . -B build -DCMAKE_OSX_ARCHITECTURES=x86_64 - name: Build with CMake run: cmake --build build --config Release + + - name: Archive artifact uses: actions/upload-artifact@v2 with: - name: ${{ matrix.os }}-${{ matrix.arch }}-build + name: ${{ matrix.os }}-build path: build