[前][次][番号順一覧][スレッド一覧]

ruby-changes:56935

From: Hiroshi <ko1@a...>
Date: Mon, 12 Aug 2019 12:59:08 +0900 (JST)
Subject: [ruby-changes:56935] Hiroshi SHIBATA: 11a09d78c1 (master): Port ubuntu workflow based on macos

https://git.ruby-lang.org/ruby.git/commit/?id=11a09d78c1

From 11a09d78c185848a179028a292f583bc356f6b25 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 11 Aug 2019 19:12:38 +0900
Subject: Port ubuntu workflow based on macos


diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
new file mode 100644
index 0000000..6606291
--- /dev/null
+++ b/.github/workflows/ubuntu.yml
@@ -0,0 +1,41 @@ https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L1
+name: ubuntu
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - '*'
+jobs:
+  latest:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        test_task: [ "check", "test-bundler" ]
+    steps:
+      - name: Install libraries
+        run: |
+          set -x
+          sudo sed /etc/apt/sources.list -e "s/^# deb-src/deb-src/g" -i
+          sudo apt-get update
+          sudo apt-get install ruby2.5
+          sudo apt-get build-dep ruby2.5
+      - name: Checkout
+        uses: actions/checkout@master
+        with:
+          fetch-depth: 50
+      - name: Set ENV
+        run: |
+          export JOBS=-j$((1 + $(nproc --all)))
+      - run: autoconf
+      - name: configure
+        run: ./configure -C --disable-install-doc
+      - run: make $JOBS
+      - name: make check/test-bundler
+        run: make -s ${{ matrix.test_task }}
+        env:
+          TESTOPTS: "$JOBS -q --tty=no"
+          MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies
+          CI: "true"
+      - name: Leaked Globals
+        run: make -s leaked-globals
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]