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

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 12, 2023
1 parent 9456844 commit 08f3aa3
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ jobs:
working-directory: ${{ github.workspace }}/build_windows_${{ matrix.arch }}
shell: cmd
run: |
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\test_${{ matrix.arch }}_${{ matrix.configuration }}.lib
mkdir ${{ github.workspace }}\build_windows_${{ matrix.arch }}\${{ matrix.Configuration }}\test_${{ matrix.arch }}_${{ matrix.configuration }}.lib
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\${{ matrix.configuration }}\test_${{ matrix.arch }}_${{ matrix.configuration }}.lib
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\test_${{ matrix.arch }}_${{ matrix.configuration }}_1.lib
mkdir -p ${{ github.workspace }}\build_windows_${{ matrix.arch }}\${{ matrix.Configuration }}\
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\${{ matrix.configuration }}\test_${{ matrix.arch }}_${{ matrix.configuration }}_2.lib
rem msbuild.exe -maxcpucount /t:Build /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ env.PLATFORM }} /fl /flp:logfile=build-${{ matrix.arch }}.${{ matrix.configuration }}.log;verbosity=diagnostic grpc.sln
Expand All @@ -103,61 +103,61 @@ jobs:
runs-on: windows-latest

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
with:
submodules: recursive

- name: Create directories
shell: pwsh
run: |
mkdir -p ${{ github.workspace }}/artifacts/
mkdir -p ${{ github.workspace }}/artifacts/build_windows_32
mkdir -p ${{ github.workspace }}/artifacts/build_windows_64
mkdir -p ${{ github.workspace }}/temp/
mkdir -p ${{ github.workspace }}/temp/build_windows_32
mkdir -p ${{ github.workspace }}/temp/build_windows_64
- name: Download artifacts for gRPC 32 (Release)
uses: actions/download-artifact@v3
with:
name: build_32_Release
path: ${{ github.workspace }}\artifacts\build_windows_32
path: ${{ github.workspace }}/temp/build_windows_32
if-no-files-found: error

- name: Download artifacts for gRPC 32 (Debug)
uses: actions/download-artifact@v3
with:
name: build_32_Debug
path: ${{ github.workspace }}\artifacts\build_windows_32
path: ${{ github.workspace }}/temp/build_windows_32
if-no-files-found: error

- name: Download artifacts for gRPC 64 (Release)
uses: actions/download-artifact@v3
with:
name: build_64_Release
path: ${{ github.workspace }}\artifacts\build_windows_64
path: ${{ github.workspace }}/temp/build_windows_64
if-no-files-found: error

- name: Download artifacts for gRPC 64 (Debug)
uses: actions/download-artifact@v3
with:
name: build_64_Debug
path: ${{ github.workspace }}\artifacts\build_windows_64
path: ${{ github.workspace }}/temp/build_windows_64
if-no-files-found: error

- name: List artifacts
shell: pwsh
run: |
ls -R ${{ github.workspace }}/artifacts
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
with:
submodules: recursive
ls -R ${{ github.workspace }}/temp
- name: Create archive
shell: pwsh
working-directory: ${{ github.workspace }}
run: |
$source = "${{ github.workspace }}\artifacts"
$source = "${{ github.workspace }}\temp"
$destination = "${{ github.workspace }}"
ls -R $source
$version = "${{ github.sha }}".Substring(0,7)
Expand Down

0 comments on commit 08f3aa3

Please sign in to comment.