Skip to content

Commit

Permalink
ga build
Browse files Browse the repository at this point in the history
  • Loading branch information
4kimov committed Dec 21, 2024
1 parent e6059f4 commit 89acf66
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,23 @@ jobs:
if: matrix.os == 'macos-latest'
run: brew install icu4c

- name: Install vcpkg and ICU (Windows)
- name: Setup vcpkg (Windows)
if: matrix.os == 'windows-latest'
uses: lukka/run-vcpkg@v11
with:
vcpkgArguments: 'icu:x64-windows'
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
vcpkgGitCommitId: '501db0f17ef6df184fcdbfbe0f87cde2313b6ab1'
runVcpkgInstall: true

- name: Set up ICU path (Windows)
- name: Install ICU (Windows)
if: matrix.os == 'windows-latest'
run: echo "${{ github.workspace }}/vcpkg/installed/x64-windows/bin" >> $env:GITHUB_PATH
run: |
${{ github.workspace }}/vcpkg/vcpkg install icu:x64-windows
echo "${{ github.workspace }}/vcpkg/installed/x64-windows/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Set VCPKG_ROOT (Windows)
if: matrix.os == 'windows-latest'
run: echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Set up cargo cache
uses: actions/cache@v3
Expand Down

0 comments on commit 89acf66

Please sign in to comment.