.github/workflows/test_by_github.yml in duckdb-0.0.7 vs .github/workflows/test_by_github.yml in duckdb-0.0.8

- old
+ new

@@ -6,38 +6,57 @@ build: runs-on: ubuntu-latest strategy: matrix: - ruby: ['2.5.x', '2.6.x'] - duckdb: ['0.1.5'] + ruby: ['2.5.8', '2.6.6', '2.7.1', 'head'] + duckdb: ['0.1.8', '0.1.9'] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: duckdb 0.1.5 cache - id: duckdb-cache-v0_1_5 + - name: duckdb 0.1.8 cache + id: duckdb-cache-v0_1_8 uses: actions/cache@v1.1.0 with: - path: duckdb-v0.1.5 - key: ${{ runner.os }}-duckdb-v0_1_5_001 + path: duckdb-v0.1.8 + key: ${{ runner.os }}-duckdb-v0_1_8_001 restore-keys: | - ${{ runner.os }}-duckdb-v0_1_5 + ${{ runner.os }}-duckdb-v0_1_8 - - name: Build duckdb 0.1.5 - if: steps.duckdb-cache-v0_1_5.outputs.cache-hit != 'true' + - name: duckdb 0.1.9 cache + id: duckdb-cache-v0_1_9 + uses: actions/cache@v1.1.0 + with: + path: duckdb-v0.1.9 + key: ${{ runner.os }}-duckdb-v0_1_9_001 + restore-keys: | + ${{ runner.os }}-duckdb-v0_1_9 + + - name: Build duckdb 0.1.8 + if: steps.duckdb-cache-v0_1_8.outputs.cache-hit != 'true' run: | - git clone -b v0.1.5 https://github.com/cwida/duckdb.git duckdb-tmp-v0.1.5 - cd duckdb-tmp-v0.1.5 && make && cd .. - rm -rf duckdb-v0.1.5 - mkdir -p duckdb-v0.1.5/build/release/src duckdb-v0.1.5/src - cp -rip duckdb-tmp-v0.1.5/build/release/src/*.so duckdb-v0.1.5/build/release/src - cp -rip duckdb-tmp-v0.1.5/src/include duckdb-v0.1.5/src/ + git clone -b v0.1.8 https://github.com/cwida/duckdb.git duckdb-tmp-v0.1.8 + cd duckdb-tmp-v0.1.8 && make && cd .. + rm -rf duckdb-v0.1.8 + mkdir -p duckdb-v0.1.8/build/release/src duckdb-v0.1.8/src + cp -rip duckdb-tmp-v0.1.8/build/release/src/*.so duckdb-v0.1.8/build/release/src + cp -rip duckdb-tmp-v0.1.8/src/include duckdb-v0.1.8/src/ + + - name: Build duckdb 0.1.9 + if: steps.duckdb-cache-v0_1_9.outputs.cache-hit != 'true' + run: | + git clone -b v0.1.9 https://github.com/cwida/duckdb.git duckdb-tmp-v0.1.9 + cd duckdb-tmp-v0.1.9 && make && cd .. + rm -rf duckdb-v0.1.9 + mkdir -p duckdb-v0.1.9/build/release/src duckdb-v0.1.9/src + cp -rip duckdb-tmp-v0.1.9/build/release/src/*.so duckdb-v0.1.9/build/release/src + cp -rip duckdb-tmp-v0.1.9/src/include duckdb-v0.1.9/src/ - name: Build and test with Rake with Ruby ${{ matrix.ruby }} env: DUCKDB_VERSION: ${{ matrix.duckdb }} run: |