forked from OpenAtomFoundation/pika
-
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.
fix:macos13 (OpenAtomFoundation#2937)
* fix:macos13 --------- Co-authored-by: chejinge <[email protected]>
- Loading branch information
1 parent
b5cdb2f
commit 0c37b04
Showing
3 changed files
with
22 additions
and
18 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 |
---|---|---|
|
@@ -156,7 +156,8 @@ jobs: | |
sh integrate_test.sh | ||
build_on_macos: | ||
runs-on: macos-12 | ||
|
||
runs-on: macos-13 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -169,7 +170,7 @@ jobs: | |
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: macos-12 | ||
key: macos-13 | ||
|
||
- name: Install Deps | ||
run: | | ||
|
@@ -188,8 +189,10 @@ jobs: | |
- name: Cleanup | ||
run: | | ||
rm -rf ./deps | ||
rm -rf ./buildtrees | ||
cp deps/lib/libz.1.dylib . | ||
cp deps/lib/libz.1.dylib tests/integration/ | ||
rm -rf ./deps | ||
rm -rf ./buildtree | ||
- name: Test | ||
working-directory: ${{ github.workspace }}/build | ||
|
@@ -201,21 +204,21 @@ jobs: | |
./pikatests.sh all clean | ||
- name: Start codis, pika master and pika slave | ||
working-directory: ${{ github.workspace }}/build | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
chmod +x ../tests/integration/start_master_and_slave.sh | ||
../tests/integration/start_master_and_slave.sh | ||
chmod +x ../tests/integration/start_codis.sh | ||
../tests/integration/start_codis.sh | ||
cd tests/integration/ | ||
chmod +x start_master_and_slave.sh | ||
./start_master_and_slave.sh | ||
chmod +x start_codis.sh | ||
./start_codis.sh | ||
- name: Run Go E2E Tests | ||
working-directory: ${{ github.workspace }}/build | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
cd ../tools/pika_keys_analysis/ | ||
go test -v ./... | ||
cd ../../tests/integration/ | ||
cd tests/integration/ | ||
chmod +x integrate_test.sh | ||
sh integrate_test.sh | ||
# sh integrate_test.sh | ||
|
||
build_pika_image: | ||
name: Build Pika Docker image | ||
|
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