summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-05 18:01:54 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-10-05 18:01:54 +0900
commit74b5bffa8644c9c3ca1063e61bd47704a6676216 (patch)
treed4d8861d4e908f9b4a1bdbf5ee7e4e34a8e60f2e /.github
parent9c7042fbed34141bffa0ddf8cdd4da1a9222a684 (diff)
downloadpsych-74b5bffa8644c9c3ca1063e61bd47704a6676216.tar.gz
Split libyaml step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/libyaml.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/libyaml.yml b/.github/workflows/libyaml.yml
index b3fab15..8d87fa1 100644
--- a/.github/workflows/libyaml.yml
+++ b/.github/workflows/libyaml.yml
@@ -31,12 +31,12 @@ jobs:
if: ${{ matrix.libyaml-prefix != '' }}
- name: Install dependencies
run: bundle install
- - name: Compile
- run: >-
- rake compile --
- ${{ matrix.libyaml-prefix != '' && '--with-libyaml-dir='
- || '--with-libyaml-source-dir'
- }}${{ matrix.libyaml-prefix }}
+ - name: Compile with libyaml
+ run: rake compile -- --with-libyaml-dir=${{ matrix.libyaml-prefix }}
+ if: ${{ matrix.libyaml-prefix != '' }}
+ - name: Compile with libyaml source
+ run: rake compile -- --with-libyaml-source-dir=yaml-${{ matrix.libyaml }}
+ if: ${{ matrix.libyaml-prefix == '' }}
- name: Run test
run: rake
- name: Install gem