Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test-and-deploy mac builds #1775

Merged
merged 17 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,16 @@ jobs:
node-version: '18.20.3'
- run: npm install
- run: make test
- run: make build_macos
- run: |
make build_macos_arm64
mkdir -p coverage-macos-arm64
cp -r coverage/* coverage-macos-arm64/

- persist_to_workspace:
root: .
paths:
- out/codecov-macos
- coverage-macos
- out/codecov-macos-arm64
- coverage-macos-arm64

build-alpine:
docker:
Expand Down Expand Up @@ -393,15 +396,15 @@ jobs:
- run:
name: Run MacOS binary -f (dry-run)
command: |
./out/codecov-macos -f /Users/distiller/project/coverage/cobertura-coverage.xml -F macos -d -Z -v -e CIRCLE_BRANCH >> output_osx.txt
./out/codecov-macos-arm64 -f /Users/distiller/project/coverage/cobertura-coverage.xml -F macos -d -Z -v -e CIRCLE_BRANCH >> output_osx.txt
- run:
name: Run MacOS binary auto-detect (dry-run)
command: |
./out/codecov-macos -F macos -v -d -Z -e CIRCLE_BRANCH >> output_osx.txt
./out/codecov-macos-arm64 -F macos -v -d -Z -e CIRCLE_BRANCH >> output_osx.txt
- run:
name: Run MacOS binary (upload)
command: |
./out/codecov-macos -F macos -v -Z -e CIRCLE_BRANCH
./out/codecov-macos-arm64 -F macos -v -Z -e CIRCLE_BRANCH

- persist_to_workspace:
root: .
Expand All @@ -425,11 +428,11 @@ jobs:
- run:
name: Run MacOS binary (dry-run)
command: |
./out/codecov-macos -F macos-without-git -d > output_osx_without_git.txt
./out/codecov-macos-arm64 -F macos-without-git -d > output_osx_without_git.txt
- run:
name: Run MacOS binary (upload)
command: |
./out/codecov-macos -F macos-without-git
./out/codecov-macos-arm64 -F macos-without-git

- persist_to_workspace:
root: .
Expand Down
Loading
Loading