Skip to content

Commit

Permalink
Add test for duplicate entrypoints (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
bourdakos1 authored Jan 8, 2023
1 parent 06e7506 commit ec90126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: tvOS Build Tests
run: xcodebuild -scheme abseil build -sdk "appletvsimulator" -destination 'platform=tvOS Simulator,name=Apple TV'
- name: iOS Device Build Tests
run: xcodebuild -scheme abseil build -sdk 'iphoneos'
run: xcodebuild -scheme abseil build -sdk 'iphoneos' -destination 'generic/platform=iOS'
3 changes: 3 additions & 0 deletions SwiftPMTests/build-test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
#include "absl/types/any.h"
#include "absl/types/optional.h"
#include "absl/types/variant.h"

// Test for duplicate `_main` symbol.
int main(int argc, char** argv) {}

0 comments on commit ec90126

Please sign in to comment.