forked from unicode-org/icu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ICU-22325 Update double-conversion to v3.3.0
- Loading branch information
Showing
10 changed files
with
238 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
vendor/double-conversion/upstream/.github/workflows/ci.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: ci | ||
|
||
on: push | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
container: [ ubuntu-latest, macos-latest, windows-latest ] | ||
build_type: [ Debug, Release ] | ||
|
||
|
||
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. | ||
# You can convert this to a matrix build if you need cross-platform coverage. | ||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
runs-on: ${{ matrix.container }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure | ||
shell: bash | ||
# Configure CMake in a 'buildX' subdirectory. | ||
# We can't use `build` as `BUILD` is already taken by the bazel build file. | ||
# On Mac and Windows this leads to a conflict. | ||
run: | | ||
mkdir -p buildX | ||
cd buildX | ||
cmake -DBUILD_TESTING=ON \ | ||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ | ||
-DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}/install_dir \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
.. | ||
- name: Build shared | ||
run: | | ||
cmake --build buildX --config ${{ matrix.build_type }} | ||
- name: Install shared | ||
run: | | ||
cmake --install buildX --config ${{ matrix.build_type }} | ||
- name: Build static | ||
run: | | ||
cmake -DBUILD_SHARED_LIBS=OFF buildX | ||
cmake --build buildX --config ${{ matrix.build_type }} | ||
- name: Install static | ||
run: | | ||
cmake --install buildX --config ${{ matrix.build_type }} | ||
- name: Test | ||
if: runner.os != 'Windows' | ||
working-directory: ${{ github.workspace }}/buildX | ||
# Execute all tests. | ||
run: | | ||
ctest | ||
# Also run the tests directly, just in case we forgot to add it to ctest. | ||
test/cctest/cctest | ||
- name: Test - Windows | ||
if: runner.os == 'Windows' | ||
working-directory: ${{ github.workspace }}/buildX | ||
# Execute all tests. | ||
run: | | ||
ctest -C ${{ matrix.build_type }} | ||
# Also run the tests directly, just in case we forgot to add it to ctest. | ||
test/cctest/${{ matrix.build_type }}/cctest.exe |
26 changes: 26 additions & 0 deletions
26
vendor/double-conversion/upstream/.github/workflows/scons.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: scons | ||
|
||
on: push | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install scons | ||
- name: Build | ||
run: | | ||
make | ||
- name: Test | ||
run: | | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters