Commit 8a1376f8 authored by Drew's avatar Drew

Attempt to build homebrew packages

parent 63967f79
Pipeline #2246 passed with stages
in 2 minutes and 22 seconds
......@@ -66,6 +66,22 @@ osxcorepackage:
paths:
- bin/CarolineCore.framework
osxtoolpackage:
stage: package
script:
- atbuild package-statictool --configuration release
tags:
- xc7
- openswift
- atbuild
- package-homebrew
artifacts:
paths:
- bin/*.tar.xz
- bin/*.rb
ioscorepackage:
stage: package
script:
......
(package
:name "Caroline"
:version "0.1-dev"
:tasks {
:statictool {
:tool "atllbuild"
:output-type "executable"
:name "caroline_static_tool"
:executable-name "caroline-static-tool"
:sources ["caroline-static-tool/**.swift"]
:publish-product true
:link-options ["-static-stdlib"]
}
:statictool-atbin {
:tool "packageatbin"
:name "caroline-static-tool"
:atllbuild-task "statictool"
:platforms ["all"]
}
:statictool-homebrew {
:tool "package-homebrew.attool"
:name "caroline-static-tool"
:url "test-url-please-ignore-FIXME"
:only-platforms ["osx"]
:dependencies ["statictool-atbin"]
}
:package-statictool {
:tool "nop"
:dependencies ["statictool-homebrew"]
}
:debug {
:dependencies ["statictool"]
:tool "shell"
:script ".atllbuild/products/caroline_static_tool --core caroline-static-tool-tests/fixtures/SampleTests/foo.swift"
:script ".atllbuild/products/caroline-static-tool --core caroline-static-tool-tests/fixtures/SampleTests/foo.swift"
}
:core {
:tool "atllbuild"
......@@ -44,7 +64,7 @@
;;simpletest is a basic sanity check of the gen/test/runner infrastructure
:simpletest-gen {
:tool "shell"
:script "bin/caroline_static_tool --core tests/SimpleTest/foo.swift > tests/SimpleTest/main.swift"
:script "bin/caroline-static-tool --core tests/SimpleTest/foo.swift > tests/SimpleTest/main.swift"
:dependencies ["statictool"]
}
:simpletest-build {
......@@ -65,7 +85,7 @@
;;coretest tests the full core API
:coretest-gen {
:tool "shell"
:script "bin/caroline_static_tool --core tests/CoreTests/assert.swift tests/CoreTests/fail.swift tests/CoreTests/SimpleEqual.swift tests/CoreTests/SequenceEqual.swift > tests/CoreTests/main.swift"
:script "bin/caroline-static-tool --core tests/CoreTests/assert.swift tests/CoreTests/fail.swift tests/CoreTests/SimpleEqual.swift tests/CoreTests/SequenceEqual.swift > tests/CoreTests/main.swift"
:dependencies ["statictool"]
}
:coretest-build {
......
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