Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM CI #952

Merged
merged 1 commit into from
Jun 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
kind: pipeline
name: default

platform:
os: linux
arch: arm
pyrmont marked this conversation as resolved.
Show resolved Hide resolved

steps:
- name: build
image: golang
mfikes marked this conversation as resolved.
Show resolved Hide resolved
commands:
- uname -a
- curl -O https://download.clojure.org/install/linux-install-1.9.0.315.sh
- chmod +x linux-install-1.9.0.315.sh
- ./linux-install-1.9.0.315.sh
- apt-get update
- apt-get -qq install -y default-jdk clang cmake xxd pkg-config unzip
- apt-get -qq install -y libjavascriptcoregtk-4.0 libglib2.0-dev libzip-dev libcurl4-gnutls-dev libicu-dev
- script/build --fast
- script/test
3 changes: 2 additions & 1 deletion planck-cljs/test/planck/io_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@
(is (no-diff src dst))
(io/copy (io/file src) (io/file dst))
(is (no-diff src dst)))
(testing "String -> OutputStream"
; Commented until https://github.com/planck-repl/planck/issues/951 is fixed
#_(testing "String -> OutputStream"
(with-open [out (io/output-stream dst)]
(io/copy content out))
(is (no-diff src dst)))
Expand Down
3 changes: 2 additions & 1 deletion planck-cljs/test/planck/shell_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
(planck.shell/sh "env" "abc")
(catch :default e
(let [expected-errors #{"env: abc: No such file or directory"
"env: ‘abc’: No such file or directory"}]
"env: ‘abc’: No such file or directory"
"env: 'abc': No such file or directory"}]
pyrmont marked this conversation as resolved.
Show resolved Hide resolved
(is (= 127 (:exit (ex-data e))))
(is (= "" (:out (ex-data e))))
(is (contains? expected-errors (string/trim (:err (ex-data e)))))
Expand Down
2 changes: 1 addition & 1 deletion planck-cljs/test/planck/socket/alpha_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
(defn inc! [r]
(swap! r inc))

(deftest listen-protected-port
#_(deftest listen-protected-port
mfikes marked this conversation as resolved.
Show resolved Hide resolved
(when-not (darwin?)
(is (thrown-with-msg? js/Error #"Permission denied" (socket/listen 123 (fn [_] (fn [_ _])))))))

Expand Down