Skip to content

Commit ec90126

Browse files
authored
Add test for duplicate entrypoints (firebase#15)
1 parent 06e7506 commit ec90126

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/spm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: tvOS Build Tests
2121
run: xcodebuild -scheme abseil build -sdk "appletvsimulator" -destination 'platform=tvOS Simulator,name=Apple TV'
2222
- name: iOS Device Build Tests
23-
run: xcodebuild -scheme abseil build -sdk 'iphoneos'
23+
run: xcodebuild -scheme abseil build -sdk 'iphoneos' -destination 'generic/platform=iOS'

SwiftPMTests/build-test/test.cc

+3
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@
4646
#include "absl/types/any.h"
4747
#include "absl/types/optional.h"
4848
#include "absl/types/variant.h"
49+
50+
// Test for duplicate `_main` symbol.
51+
int main(int argc, char** argv) {}

0 commit comments

Comments
 (0)