mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Test data: download a tarball instead of cloning a repository
This commit is contained in:
parent
f219b1fffb
commit
672b23c80c
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -1,5 +1,7 @@
|
||||
name: build
|
||||
on: [ push, pull_request ]
|
||||
env:
|
||||
TEST_DATA_URL: https://github.com/mdbtools/mdbtestdata/archive/refs/heads/master.tar.gz
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
@ -14,7 +16,10 @@ jobs:
|
||||
run: sudo apt install gettext
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@ -52,7 +57,10 @@ jobs:
|
||||
run: brew install bison gawk automake
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@ -94,7 +102,10 @@ jobs:
|
||||
run: echo /usr/local/opt/libiodbc/bin >> $GITHUB_PATH
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@ -130,7 +141,10 @@ jobs:
|
||||
glib2-devel
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check out test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
|
Loading…
Reference in New Issue
Block a user