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

ruby-changes:56909

From: Takashi <ko1@a...>
Date: Sat, 10 Aug 2019 19:20:24 +0900 (JST)
Subject: [ruby-changes:56909] Takashi Kokubun: 9b203959d5 (master): Rename workflow.yml to macos.yml

https://git.ruby-lang.org/ruby.git/commit/?id=9b203959d5

From 9b203959d51b597075fe8bfcc07a24845bca4876 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Sat, 10 Aug 2019 19:19:22 +0900
Subject: Rename workflow.yml to macos.yml

to allow having other workflows separately, and configure `name` to
simplify a tooltip label on GitHub.

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
new file mode 100644
index 0000000..ad521ce
--- /dev/null
+++ b/.github/workflows/macos.yml
@@ -0,0 +1,42 @@ https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L1
+name: macos
+on:
+  - push
+  - pull_request
+
+jobs:
+  macos:
+    name: make test-all on mac
+    runs-on: macos-latest
+    steps:
+      - name: Disable Firewall
+        run: |
+          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
+          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
+      - name: Install libraries
+        run: |
+          brew update
+          brew install gdbm gmp libffi openssl zlib ccache autoconf automake libtool readline
+      - name: Checkout
+        uses: actions/checkout@master
+        with:
+          fetch-depth: 5
+      - name: Set ENV
+        run: |
+          echo '##[set-env name=CONFIGURE_TTY]no'
+          echo '##[set-env name=NPROC]'$(sysctl -n hw.activecpu)
+          echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu)))
+      - name: Print ENV
+        run: |
+          echo $CONFIGURE_TTY
+          echo $NPROC
+          echo $JOBS
+      - run: autoconf
+      - name: configure
+        run: ./configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl) --with-readline-dir=$(brew --prefix readline)
+      - run: make $JOBS
+      - run: make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=$CONFIGURE_TTY}"
+      - run: make -s test-all TESTOPTS="${TESTOPTS=$JOBS -q --tty=$CONFIGURE_TTY}"
+      - name: Ruby Spec
+        run: make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
+      - name: Leaked Globals
+        run: make -s leaked-globals
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
deleted file mode 100644
index 1e5e97b..0000000
--- a/.github/workflows/workflow.yml
+++ /dev/null
@@ -1,41 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L0
-on:
-  - push
-  - pull_request
-
-jobs:
-  macos:
-    name: make test-all on mac
-    runs-on: macos-latest
-    steps:
-      - name: Disable Firewall
-        run: |
-          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
-          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
-      - name: Install libraries
-        run: |
-          brew update
-          brew install gdbm gmp libffi openssl zlib ccache autoconf automake libtool readline
-      - name: Checkout
-        uses: actions/checkout@master
-        with:
-          fetch-depth: 5
-      - name: Set ENV
-        run: |
-          echo '##[set-env name=CONFIGURE_TTY]no'
-          echo '##[set-env name=NPROC]'$(sysctl -n hw.activecpu)
-          echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu)))
-      - name: Print ENV
-        run: |
-          echo $CONFIGURE_TTY
-          echo $NPROC
-          echo $JOBS
-      - run: autoconf
-      - name: configure
-        run: ./configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl) --with-readline-dir=$(brew --prefix readline)
-      - run: make $JOBS
-      - run: make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=$CONFIGURE_TTY}"
-      - run: make -s test-all TESTOPTS="${TESTOPTS=$JOBS -q --tty=$CONFIGURE_TTY}"
-      - name: Ruby Spec
-        run: make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
-      - name: Leaked Globals
-        run: make -s leaked-globals
-- 
cgit v0.10.2


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

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