From df19050c7903a1267e972404e05a0a145bc19228 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 23 Mar 2022 16:11:07 +0900 Subject: rename --- .github/workflows/libyaml-0.1.7.yml | 37 ------------------------------------- .github/workflows/libyaml.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 .github/workflows/libyaml-0.1.7.yml create mode 100644 .github/workflows/libyaml.yml (limited to '.github') diff --git a/.github/workflows/libyaml-0.1.7.yml b/.github/workflows/libyaml-0.1.7.yml deleted file mode 100644 index ff2f237..0000000 --- a/.github/workflows/libyaml-0.1.7.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: libyaml-0.1.7 - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - ruby: [ ruby-head, "3.0", 2.7, 2.6, 2.5, 2.4 ] - libyaml: [0.1.7 0.2.5] - steps: - - name: Install libraries - run: sudo apt install haveged - - uses: actions/checkout@v2 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - name: Set up libyaml ${{ matrix.libyaml }} - run: | - wget https://pyyaml.org/download/libyaml/yaml-${{ matrix.libyaml }}.tar.gz - tar xzf yaml-${{ matrix.libyaml }}.tar.gz - cd yaml-${{ matrix.libyaml }} - ./configure --prefix=/tmp/local - make - make install - - name: Install dependencies - run: bundle install - - name: Compile - run: rake compile -- --with-libyaml-dir=/tmp/local - - name: Run test - run: rake - - name: Install gem - run: rake install - if: ${{ matrix.ruby != 'ruby-head' }} diff --git a/.github/workflows/libyaml.yml b/.github/workflows/libyaml.yml new file mode 100644 index 0000000..ff2f237 --- /dev/null +++ b/.github/workflows/libyaml.yml @@ -0,0 +1,37 @@ +name: libyaml-0.1.7 + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: [ ruby-head, "3.0", 2.7, 2.6, 2.5, 2.4 ] + libyaml: [0.1.7 0.2.5] + steps: + - name: Install libraries + run: sudo apt install haveged + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Set up libyaml ${{ matrix.libyaml }} + run: | + wget https://pyyaml.org/download/libyaml/yaml-${{ matrix.libyaml }}.tar.gz + tar xzf yaml-${{ matrix.libyaml }}.tar.gz + cd yaml-${{ matrix.libyaml }} + ./configure --prefix=/tmp/local + make + make install + - name: Install dependencies + run: bundle install + - name: Compile + run: rake compile -- --with-libyaml-dir=/tmp/local + - name: Run test + run: rake + - name: Install gem + run: rake install + if: ${{ matrix.ruby != 'ruby-head' }} -- cgit v1.2.1