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

Update CI for latest actions and to use matrix #841

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Conversation

luispadron
Copy link
Collaborator

@luispadron luispadron commented Mar 4, 2024

Updates GitHub CI to make it easier to add more Bazel/Xcode Versions.

Changes:

  • Update checkout and upload-artifacts actions to v4, this fixes warnings we get on every PR for deprecated Node versions
  • Add matrix strategy for all jobs, this adds a bazel_version and xcode_version which each job will be configured to run against. We can add Bazel 7 once Add support for Bazel 7 #795 is done.
  • Merge the --config=vfs and non-vfs job, this can be set with a custom matrix without duplicating the job code.
  • Remove --remote-cache flag, this was set by every job already.

Example:

Screenshot 2024-03-04 at 10 59 36 AM

@luispadron luispadron force-pushed the luis/update-ci branch 10 times, most recently from 18fdc13 to 4b4ef84 Compare March 4, 2024 15:05
@@ -52,9 +52,6 @@ build:ios_multi_arch_test --ios_minimum_os=10.2
# to exemplify fat binaries on the latest version
build:ios_multi_arch_test --ios_multi_cpus=x86_64

# - Remote cache configuration
build:ci_with_caches --config=ci --config=remote_cache
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config was previously used by all jobs, seemed redundant to define another ci config so just using ci with --remote_cache by default now

@luispadron luispadron marked this pull request as ready for review March 4, 2024 16:26
@luispadron
Copy link
Collaborator Author

If this is approved i'll update the required jobs to use these new ones in the settings

@luispadron luispadron merged commit 201b82e into master Mar 4, 2024
7 checks passed
@luispadron luispadron deleted the luis/update-ci branch March 4, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants