Skip to content

Commit

Permalink
Do ubuntu build
Browse files Browse the repository at this point in the history
  • Loading branch information
Emory Barlow committed Feb 25, 2019
1 parent 84633ca commit 35a16dc
Showing 1 changed file with 22 additions and 60 deletions.
82 changes: 22 additions & 60 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,37 @@
steps:
- command: |
echo "--- Creating symbolic link to job directory :file_folder:" && \
sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \
echo "+++ Building :hammer:" && \
echo 1 | ./eosio_build.sh && \
echo "--- Compressing build directory :compression:" && \
tar -pczf build.tar.gz build/
label: ":darwin: High Sierra Build"
echo "+++ :hammer: Building" && \
echo 1 | ./eosio_build.sh && \
echo "--- :compression: Compressing build directory" && \
tar -pczf build.tar.gz build/
label: ":ubuntu: 18.04 Build"
agents:
- "role=macos-builder"
artifact_paths: "build.tar.gz"
timeout: 60
- command: |
echo "--- Creating symbolic link to job directory :file_folder:" && \
sleep 5 && ln -s "$(pwd)" /data/job && cd /data/job && \
echo "+++ Building :hammer:" && \
echo 1 | ./eosio_build.sh && \
echo "--- Compressing build directory :compression:" && \
tar -pczf build.tar.gz build/
label: ":darwin: Mojave Build"
agents:
- "role=builder"
- "os=mojave"
queue: "automation-large-builder-fleet"
artifact_paths: "build.tar.gz"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
timeout: 60
- wait

- command: |
echo "--- :arrow_down: Downloading build directory" && \
buildkite-agent artifact download "build.tar.gz" . --step ":darwin: High Sierra Build" && \
tar -zxf build.tar.gz && \
echo "+++ :microscope: Starting package build" && \
ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew
label: ":darwin: High Sierra Package Builder"
agents:
- "role=macos-builder"
- "os=high-sierra"
artifact_paths:
- "build/packages/*.tar.gz"
- "build/packages/*.rb"
timeout: 60
- command: |
echo "--- :arrow_down: Downloading build directory" && \
buildkite-agent artifact download "build.tar.gz" . --step ":darwin: Mojave Build" && \
buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \
tar -zxf build.tar.gz && \
echo "+++ :microscope: Starting package build" && \
ln -s "$(pwd)" /data/job && cd /data/job/build/packages && bash generate_package.sh brew
label: ":darwin: Mojave Package Builder"
agents:
- "role=builder"
- "os=mojave"
artifact_paths:
- "build/packages/*.tar.gz"
- "build/packages/*.rb"
timeout: 60
- wait

- command: |
echo "--- :arrow_down: Downloading brew files" && \
buildkite-agent artifact download "build/packages/eosio.rb" . --step ":darwin: High Sierra Package Builder" && \
mv build/packages/eosio.rb build/packages/eosio_highsierra.rb && \
buildkite-agent artifact download "build/packages/eosio.rb" . --step ":darwin: Mojave Package Builder"
label: ":darwin: High Sierra Brew Getter"
cd /data/job/build/packages && bash generate_package.sh deb
label: ":ubuntu: 18.04 Package builder"
agents:
- "role=macos-builder"
- "os=high-sierra"
queue: "automation-large-builder-fleet"
artifact_paths:
- "build/packages/eosio_highsierra.rb"
- "build/packages/eosio.rb"
- "build/packages/*.deb"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
env:
OS: "ubuntu-18.04"
PKGTYPE: "deb"
timeout: 60

0 comments on commit 35a16dc

Please sign in to comment.