diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aace6f77b..ee10dea2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,17 +45,19 @@ jobs: strategy: fail-fast: false matrix: + os: [ubuntu-latest, macos-latest, windows-latest] shared: [0, 1] include: - os: ubuntu-latest os_name: Linux os_name_lowercase: linux - os: macos-latest - os_name: MacOS + os_name: macOS os_name_lowercase: macos - os: windows-latest os_name: Windows os_name_lowercase: windows + name: Build ${{ matrix.os_name }} (${{ matrix.shared == 0 && 'Static' || 'Shared' }}) runs-on: ${{ matrix.os }} steps: @@ -73,14 +75,14 @@ jobs: libiconv-devel make - - name: Build + - name: Build (Windows) if: matrix.os_name_lowercase == 'windows' shell: msys2 {0} env: SHARED: ${{ matrix.shared }} run: make - - name: Build + - name: Build (Linux/macOS) if: matrix.os_name_lowercase != 'windows' env: SHARED: ${{ matrix.shared }}