Skip to content

Commit

Permalink
Fix CI for C++ toolchain resolution (#307)
Browse files Browse the repository at this point in the history
* Fix CI for C++ toolchain resolution

* Adding platform_mappings, because they can't be accessed from another repo

* Remove flags to test on CI
  • Loading branch information
comius authored Sep 7, 2023
1 parent 8ecbcdd commit ab628d4
Showing 1 changed file with 120 additions and 0 deletions.
120 changes: 120 additions & 0 deletions tutorial/platform_mappings
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
platforms:
@build_bazel_apple_support//platforms:macos_x86_64
--cpu=darwin_x86_64

@build_bazel_apple_support//platforms:macos_arm64
--cpu=darwin_arm64

@build_bazel_apple_support//platforms:darwin_arm64e
--cpu=darwin_arm64e

@build_bazel_apple_support//platforms:ios_i386
--cpu=ios_i386

@build_bazel_apple_support//platforms:ios_x86_64
--cpu=ios_x86_64

@build_bazel_apple_support//platforms:ios_sim_arm64
--cpu=ios_sim_arm64

@build_bazel_apple_support//platforms:ios_armv7
--cpu=ios_armv7

@build_bazel_apple_support//platforms:ios_arm64
--cpu=ios_arm64

@build_bazel_apple_support//platforms:ios_arm64e
--cpu=ios_arm64e

@build_bazel_apple_support//platforms:tvos_x86_64
--cpu=tvos_x86_64

@build_bazel_apple_support//platforms:tvos_sim_arm64
--cpu=tvos_sim_arm64

@build_bazel_apple_support//platforms:tvos_arm64
--cpu=tvos_arm64

@build_bazel_apple_support//platforms:watchos_i386
--cpu=watchos_i386

@build_bazel_apple_support//platforms:watchos_x86_64
--cpu=watchos_x86_64

@build_bazel_apple_support//platforms:watchos_arm64
--cpu=watchos_arm64

@build_bazel_apple_support//platforms:watchos_armv7k
--cpu=watchos_armv7k

@build_bazel_apple_support//platforms:watchos_arm64_32
--cpu=watchos_arm64_32

flags:
--cpu=darwin_x86_64
--apple_platform_type=macos
@build_bazel_apple_support//platforms:macos_x86_64

--cpu=darwin_arm64
--apple_platform_type=macos
@build_bazel_apple_support//platforms:macos_arm64

--cpu=darwin_arm64e
--apple_platform_type=macos
@build_bazel_apple_support//platforms:darwin_arm64e

--cpu=ios_i386
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_i386

--cpu=ios_x86_64
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_x86_64

--cpu=ios_sim_arm64
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_sim_arm64

--cpu=ios_armv7
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_armv7

--cpu=ios_arm64
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_arm64

--cpu=ios_arm64e
--apple_platform_type=ios
@build_bazel_apple_support//platforms:ios_arm64e

--cpu=tvos_x86_64
--apple_platform_type=tvos
@build_bazel_apple_support//platforms:tvos_x86_64

--cpu=tvos_sim_arm64
--apple_platform_type=tvos
@build_bazel_apple_support//platforms:tvos_sim_arm64

--cpu=tvos_arm64
--apple_platform_type=tvos
@build_bazel_apple_support//platforms:tvos_arm64

--cpu=watchos_i386
--apple_platform_type=watchos
@build_bazel_apple_support//platforms:watchos_i386

--cpu=watchos_x86_64
--apple_platform_type=watchos
@build_bazel_apple_support//platforms:watchos_x86_64

--cpu=watchos_arm64
--apple_platform_type=watchos
@build_bazel_apple_support//platforms:watchos_arm64

--cpu=watchos_armv7k
--apple_platform_type=watchos
@build_bazel_apple_support//platforms:watchos_armv7k

--cpu=watchos_arm64_32
--apple_platform_type=watchos
@build_bazel_apple_support//platforms:watchos_arm64_32

0 comments on commit ab628d4

Please sign in to comment.