-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/main' into connectors
# Conflicts: # .circleci/config.yml # .github/workflows/publish.yml # .github/workflows/release.yml # Cargo.lock # apollo-federation-types/Cargo.toml # harmonizer/Cargo.toml # harmonizer/build.rs # harmonizer/package-lock.json # harmonizer/package.json # harmonizer/src/lib.rs # supergraph/Cargo.toml
- Loading branch information
Showing
14 changed files
with
248 additions
and
47 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Mac_x86_tests | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-supergraph: | ||
name: Build Supergraph for macOS x86-64 | ||
# Arm64 runner for cross-compilation | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: "Checkout federation-rs repo" | ||
- uses: actions-rs/toolchain@v1 | ||
name: "Install x86_64 toolchain for cross-compilation" | ||
with: | ||
toolchain: stable | ||
target: x86_64-apple-darwin | ||
- run: | | ||
rustup target add x86_64-apple-darwin | ||
# Build supergraph | ||
- uses: actions-rs/cargo@v1 | ||
name: "Build supergraph binary" | ||
with: | ||
command: build | ||
args: --target x86_64-apple-darwin | ||
- uses: actions/upload-artifact@v4 | ||
name: "Store built binaries to use later on" | ||
with: | ||
path: | | ||
target/x86_64-apple-darwin/debug/supergraph | ||
if-no-files-found: error | ||
retention-days: 5 | ||
comopse-supergraph: | ||
needs: build-supergraph | ||
name: Run supergraph compose on macOS x86-64 | ||
# strategy: | ||
# matrix: | ||
# composition-version: ${{ fromJSON(inputs.composition-versions) }} | ||
# x86-64 runner | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: "Checkout rover repo" | ||
- uses: actions/download-artifact@v4 | ||
name: "Download artifacts built in previous stages" | ||
- uses: volta-cli/action@v4 | ||
name: "Install volta" | ||
- name: Run supergraph compose on test graph | ||
run: | | ||
chmod +x ./artifact/supergraph | ||
./artifact/supergraph compose supergraph/tests/compose_test.yaml |
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
Oops, something went wrong.