From 55f4717b348a9595f5193a271d39b2360c55a93c Mon Sep 17 00:00:00 2001 From: Ivan Akimov Date: Fri, 20 Dec 2024 21:31:49 -0600 Subject: [PATCH] ga build --- .github/workflows/build.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12514bb..0bf7375 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,20 @@ jobs: override: true components: rustfmt, clippy + - name: Install ICU (Ubuntu) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install -y libicu-dev + + - name: Install ICU (macOS) + if: matrix.os == 'macos-latest' + run: brew install icu4c + + - name: Install ICU (Windows) + if: matrix.os == 'windows-latest' + run: | + choco install icu4c + echo "C:\Program Files\icu4c\bin" >> $GITHUB_PATH + - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -44,6 +58,8 @@ jobs: - name: Build Extension run: cargo pgrx package + env: + ICU_VERSION: 74 - name: Upload Extension Artifact uses: actions/upload-artifact@v3 @@ -68,4 +84,7 @@ jobs: with: profile: minimal toolchain: stable - override: true \ No newline at end of file + override: true + + - name: Install ICU + run: sudo apt-get install -y libicu-dev \ No newline at end of file