Skip to content

horothesun/ConcurrentDictionary

Repository files navigation

ConcurrentDictionary

CI Linux CI macOS codecov SwiftPM

Thread-safe Swift dictionary.

Generate Xcode project

swift package generate-xcodeproj

Testing

macOS

swift test

Docker Linux

IMPORTANT: regenerate Linux test list executing

swift test --generate-linuxmain

Execute on base swift:5.2 image

docker run --rm \
    --volume "$(pwd):/package" \
    --workdir '/package' \
    swift:5.2 \
    /bin/bash -c 'swift test'

or create a new image based on Dockerfile and run it

docker build --tag concurrent-dictionary .
docker run --rm concurrent-dictionary