Commit 9a9349c6 authored by Drew's avatar Drew

Merge branch 'linux-package' into 'master'

Linux package

See merge request !1
parents b1d9f78d 58076c33
Pipeline #2255 passed with stages
in 6 minutes and 3 seconds
......@@ -82,6 +82,24 @@ osxtoolpackage:
- bin/*.tar.xz
- bin/*.rb
stage: package
- apt-get update && apt-get install --no-install-recommends curl ca-certificates git -y
- curl -s -L | bash
- apt-get install atbuild package-deb -y
- atbuild package-statictool --configuration release
- autoscale-linux
- bin/*.tar.xz
- bin/*.deb
image: drewcrawford/swift:latest
stage: package
......@@ -25,9 +25,15 @@
:only-platforms ["osx"]
:dependencies ["statictool-atbin"]
:statictool-deb {
:tool "package-deb.attool"
:name "caroline-static-tool"
:dependencies ["statictool-atbin"]
:only-platforms ["linux"]
:package-statictool {
:tool "nop"
:dependencies ["statictool-homebrew"]
:dependencies ["statictool-homebrew" "statictool-deb"]
:debug {
:dependencies ["statictool"]
......@@ -34,11 +34,35 @@ And then install the static tool:
.. todo::
install static tool on Linux
Debian 8
We publish official binaries for Debian 8 "Jessie". Install our apt repo:
.. code-block:: bash
curl -s | bash
and then install the static tool:
.. code-block:: bash
apt-get install caroline-static-tool
If you'd like to install caroline-static-tool into a Docker container, either for use alone, or as part of a more complex Docker container environment, you can:
.. code-block:: docker
FROM debian:latest
RUN apt-get update && apt-get install --no-install-recommends curl ca-certificates -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN curl -s | bash
RUN apt-get install caroline-static-tool -y
ENTRYPOINT ["caroline-static-tool"]
Installing the framework
......@@ -74,10 +98,6 @@ With Xcode, we run the Caroline engine inside a single XCTest. This lets you mi
<video controls src="_static/run-script-phase.m4v" width="75%"></video>
.. todo::
Make sure caroline-static-tool is actually named this
.. warning::
Make sure you create this script phase in your **test target**, not your **app target**.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment