Skip to content

Commit

Permalink
windows ci: only build target language (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
externl authored Jan 17, 2024
1 parent 3388b6f commit bf12c1c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build Ice
runs:
using: "composite"
steps:
# Linux / macOS
- name: Build C++ Dependencies
run: make -j3 V=1 -C cpp srcs
shell: bash
Expand All @@ -16,12 +17,21 @@ runs:
if: (runner.os == 'macOS' || runner.os == 'Linux') && (matrix.language == 'php' || matrix.language == 'js' || matrix.language == 'ruby')

- name: Build ${{ matrix.language }}
working-directory: ./${{ matrix.language }}
run: |
make -j3 V=1 LANGUAGES="${{ matrix.language }}"
make -j3 V=1
shell: bash
if: runner.os == 'macOS' || runner.os == 'Linux'

- name: Build
run: msbuild /m /p:Platform=x64 ice.proj
# Windows
- name: Build C++ Dependencies
run: msbuild /m /p:Platform=x64 msbuild/ice.proj
working-directory: ./cpp
shell: powershell
if: runner.os == 'Windows'

- name: Build ${{ matrix.language }}
run: msbuild /m /p:Platform=x64 msbuild/ice.proj
working-directory: ./${{ matrix.language }}
shell: powershell
if: runner.os == 'Windows'

0 comments on commit bf12c1c

Please sign in to comment.