Last active
September 2, 2020 17:41
-
-
Save sstadelman/12314448ef67037aa8bbff726a6c1ff7 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
# references: https://oleb.net/2020/swift-docker-linux/ | |
# TO LAUNCH DOCKER SWIFT ENV (from package root) | |
docker pull swiftlang/swift:nightly-5.3-bionic | |
# docker run --rm --privileged --interactive --tty --volume "$(pwd):/src" --workdir "/src" swift:latest | |
docker run --rm --privileged --interactive --tty --volume "$(pwd):/src" --workdir "/src" swiftlang/swift:nightly-5.3-bionic | |
# FROM INSIDE DOCKER | |
apt-get update && apt-get upgrade | |
apt-get install libsqlite3-dev | |
apt-get install libncurses5-dev | |
# swift test --enable-test-discovery | |
# swift test --enable-test-discovery --filter TSCUtilityTests.NetrcTests | |
swift test --enable-test-discovery --filter CommandsTests.PackageToolTests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment