diff --git a/.github/workflows/feature.yml b/.github/workflows/feature.yml index 3f84b38..098f97b 100644 --- a/.github/workflows/feature.yml +++ b/.github/workflows/feature.yml @@ -21,11 +21,21 @@ jobs: name: mac dir_build: ./build file_name: clap-info + cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" - os: windows-latest name: win dir_build: ./build/Release file_name: clap-info file_ext: .exe + cmake_args: -G"Visual Studio 17 2022" -A x64 + - os: windows-latest-arm64ec + name: win + dir_build: ./build/Release + file_name: clap-info + file_ext: .exe + cmake_args: -G"Visual Studio 17 2022" -A arm64ec + + steps: - name: Install Windows dependencies if: matrix.os == 'windows-latest' @@ -38,7 +48,7 @@ jobs: - name: Build binary run: | - cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" + cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_args }} cmake --build ./build --config Release - name: List files