-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/maven/metadata/maven-53c7092088
- Loading branch information
Showing
113 changed files
with
21,914 additions
and
21,465 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This workflow builds and unit tests both main C++ API and also build/data tools for metadata generation. | ||
|
||
name: Testing C++ API | ||
on: pull_request | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
cpp-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Harden Runner | ||
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | ||
with: | ||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | ||
|
||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | ||
|
||
- name: Set up C++ environment | ||
run: | | ||
sudo apt-get install \ | ||
cmake cmake-curses-gui libprotobuf-dev libgtest-dev libre2-dev \ | ||
libicu-dev libboost-dev libboost-thread-dev libboost-system-dev \ | ||
protobuf-compiler | ||
- name: Build C++ | ||
run: | | ||
cd cpp | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
- name: Test C++ Build Tools | ||
run: | | ||
./cpp/build/tools/generate_geocoding_data_test | ||
- name: Test C++ API | ||
run: | | ||
./cpp/build/libphonenumber_test |
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
target/ | ||
!tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar | ||
build/ | ||
lib/ | ||
generated/ | ||
generated/ |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file modified
BIN
+6 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/256_en
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/372_en
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(110%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/380_en
Binary file not shown.
Binary file modified
BIN
-40 Bytes
(99%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/47_en
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(99%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/596_en
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/65_en
Binary file not shown.
Binary file modified
BIN
+12 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/852_en
Binary file not shown.
Binary file modified
BIN
+12 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/852_zh
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/992_en
Binary file not shown.
Binary file modified
BIN
+30 Bytes
(100%)
java/carrier/src/com/google/i18n/phonenumbers/carrier/data/995_en
Binary file not shown.
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
Binary file modified
BIN
+18 Bytes
(110%)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/261_en
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/380_en
Binary file not shown.
Binary file modified
BIN
-40 Bytes
(100%)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/380_uk
Binary file not shown.
Binary file modified
BIN
+10 Bytes
(100%)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/95_en
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/960_en
Binary file not shown.
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
Binary file modified
BIN
+110 Bytes
(110%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CO
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_DE
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_EE
Binary file not shown.
Binary file modified
BIN
+14 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GE
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HK
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MG
Binary file not shown.
Binary file modified
BIN
+82 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MM
Binary file not shown.
Binary file modified
BIN
+51 Bytes
(110%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MQ
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_MV
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NO
Binary file not shown.
Binary file modified
BIN
+40 Bytes
(110%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_PM
Binary file not shown.
Binary file modified
BIN
-7 Bytes
(99%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SG
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SJ
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_TJ
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UA
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(99%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_UG
Binary file not shown.
Binary file modified
BIN
+21 Bytes
(100%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_WF
Binary file not shown.
Binary file modified
BIN
+130 Bytes
(160%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_MQ
Binary file not shown.
Binary file modified
BIN
+17 Bytes
(110%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_NO
Binary file not shown.
Binary file modified
BIN
+114 Bytes
(150%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_PM
Binary file not shown.
Binary file modified
BIN
+49 Bytes
(120%)
java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_SJ
Binary file not shown.
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
2 changes: 1 addition & 1 deletion
2
...ibphonenumber/test/com/google/i18n/phonenumbers/CountryCodeToRegionCodeMapForTesting.java
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
Oops, something went wrong.