Skip to content

Commit

Permalink
I think this should do it
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Oct 27, 2024
1 parent c75c202 commit d7061de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,30 @@ jobs:
name: linux
dir_build: ./build
file_name: clap-info
run_test: true

- os: macos-latest
name: mac-universal
dir_build: ./build
file_name: clap-info
cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
run_test: true

- os: windows-latest
name: win-x64
dir_build: ./build/Release
file_name: clap-info
file_ext: .exe
cmake_args: -G"Visual Studio 17 2022" -A x64
run_test: true

- os: windows-latest
name: win-arm64ec
dir_build: ./build/Release
file_name: clap-info
file_ext: .exe
cmake_args: -G"Visual Studio 17 2022" -A arm64ec -DCMAKE_SYSTEM_VERSION=10
run_test: false


steps:
Expand All @@ -57,6 +61,7 @@ jobs:
run: ls "${{ matrix.dir_build }}"

- name: Test binary
if: ${{ matrix.run_test }}
run: ${{ matrix.dir_build }}/${{ matrix.file_name }}${{ matrix.file_ext }} -h

- name: Compress binary
Expand Down

0 comments on commit d7061de

Please sign in to comment.