Skip to content

horothesun/ConcurrentArray

Repository files navigation

ConcurrentArray

CI Linux CI macOS codecov SwiftPM

Thread-safe Swift array.

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-array .
docker run --rm concurrent-array