Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
build solution
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 6, 2023
1 parent 85e23f4 commit 5c568e5
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ jobs:
git config --global core.autocrlf false
git config --global core.eol lf
- name: 32 bit - set environment variables
if: ${{ matrix.arch == '32' }}
shell: powershell
run: |
echo "PLATFORM=win32" >> $env:GITHUB_ENV
- name: 64 bit - set environment variables
if: ${{ matrix.arch == '64' }}
shell: powershell
run: |
echo "PLATFORM=x64" >> $env:GITHUB_ENV
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3

Expand All @@ -57,10 +69,12 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Build gRPC ${{ matrix.arch }} ( ${{ matrix.configuration }} )
- name: Build gRPC ${{ matrix.arch }} bit ( ${{ matrix.configuration }} )
shell: cmd
run: |
${{ github.workspace }}/grpc/build_windows.bat ${{ matrix.configuration }} ${{ matrix.arch }}
cd ${{ github.workspace }}/grpc/build_windows_${{ matrix.arch}}
msbuild.exe -maxcpucount /t:Clean,Build /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ env.PLATFORM }} /fl /flp:logfile=build-${{ matrix.arch }}.${{ matrix.configuration }}.log;verbosity=diagnostic grpc.sln
working-directory: ${{ github.workspace }}
env:
WORKSPACE: ${{ github.workspace }}
Expand Down

0 comments on commit 5c568e5

Please sign in to comment.