Last active
August 30, 2020 17:13
-
-
Save finestructure/24200fdce457288d0d0ad8f783928a40 to your computer and use it in GitHub Desktop.
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
clean: | |
@# just delete specific directories instead of .builds so we don't | |
@# have to re-fetch dependencies | |
@rm -f .build/debug | |
@rm -rf .build/x86_64-apple-macosx/ | |
@rm -rf .build/x86_64-unknown-linux/ | |
@rm -rf .build/x86_64-unknown-linux-gnu/ | |
macos-spm-4.2: clean | |
@echo | |
@echo === Building $@ === | |
env DEVELOPER_DIR=/Applications/Xcode_10.1 xcrun swift build | |
macos-spm-5.0: clean | |
@echo | |
@echo === Building $@ === | |
env DEVELOPER_DIR=/Applications/Xcode_10.3.app xcrun swift build | |
macos-spm-5.1: clean | |
@echo | |
@echo === Building $@ === | |
env DEVELOPER_DIR=/Applications/Xcode_11.3.1.app xcrun swift build | |
macos-spm-5.2: clean | |
@echo | |
@echo === Building $@ === | |
env DEVELOPER_DIR=/Applications/Xcode_11.6.app xcrun swift build | |
macos-spm-5.3: clean | |
@echo | |
@echo === Building $@ === | |
env DEVELOPER_DIR=/Applications/Xcode_12_beta_5.app xcrun swift build | |
linux-4.2: clean | |
@echo | |
@echo === Building $@ === | |
docker run --rm -v "$(PWD)":/host -w /host swift:4.2.4 swift build | |
linux-5.0: clean | |
@echo | |
@echo === Building $@ === | |
docker run --rm -v "$(PWD)":/host -w /host swift:5.0.3 swift build | |
linux-5.1: clean | |
@echo | |
@echo === Building $@ === | |
docker run --rm -v "$(PWD)":/host -w /host swift:5.1.5 swift build --enable-test-discovery | |
linux-5.2: clean | |
@echo | |
@echo === Building $@ === | |
docker run --rm -v "$(PWD)":/host -w /host swift:5.2.4 swift build --enable-test-discovery | |
linux-5.3: clean | |
@echo | |
@echo === Building $@ === | |
docker run --rm -v "$(PWD)":/host -w /host "swiftlang/swift:nightly-5.3@sha256:99cd46394189f06ee7f7221d9873f273e5d0d4efe89824d201b0d9838aec4f50" swift build --enable-test-discovery | |
all: \ | |
macos-spm-4.2 \ | |
macos-spm-5.0 \ | |
macos-spm-5.1 \ | |
macos-spm-5.2 \ | |
macos-spm-5.3 \ | |
linux-4.2 \ | |
linux-5.0 \ | |
linux-5.1 \ | |
linux-5.2 \ | |
linux-5.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment