Skip to content

Commit

Permalink
ci: Fix macos workflow indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jun 12, 2024
1 parent 2f7ca4e commit 6fcaca5
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/amd64_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,48 @@ on: [push, pull_request, workflow_dispatch]
jobs:
native:
strategy:
matrix:
matrix:
cmake: [
{generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install},
{generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install},
]
fail-fast: false
]
fail-fast: false
name: MacOS • ${{ matrix.cmake.generator }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Swig install
- uses: actions/checkout@v4
- name: Swig install
run: |
brew install swig
swig -version
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Check dotnet
run: dotnet --info
- name: Check cmake
run: cmake --version
- name: Configure
run: >
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Check dotnet
run: dotnet --info
- name: Check cmake
run: cmake --version
- name: Configure
run: >
cmake -S. -Bbuild
-G "${{ matrix.cmake.generator }}"
-DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }}
-DCMAKE_INSTALL_PREFIX=install
- name: Build
run: >
- name: Build
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j2
- name: Test
run: >
- name: Test
run: >
CTEST_OUTPUT_ON_FAILURE=1
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.test_target }}
-v
- name: Install
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
Expand Down

0 comments on commit 6fcaca5

Please sign in to comment.