mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fix Appveyor builds
This commit is contained in:
parent
cb0ee059b2
commit
307cc50dc0
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -22,7 +22,9 @@ jobs:
|
|||||||
- name: Make
|
- name: Make
|
||||||
run: make
|
run: make
|
||||||
- name: CLI tests
|
- name: CLI tests
|
||||||
run: ./test_script.sh
|
run: bash -x ./test_script.sh
|
||||||
|
- name: SQL tests
|
||||||
|
run: bash -x ./test_sql.sh
|
||||||
- name: ODBC tests
|
- name: ODBC tests
|
||||||
run: env MDBPATH=test/data ./src/odbc/unittest
|
run: env MDBPATH=test/data ./src/odbc/unittest
|
||||||
- name: pkg-config libmdb test
|
- name: pkg-config libmdb test
|
||||||
@ -51,7 +53,9 @@ jobs:
|
|||||||
- name: Make
|
- name: Make
|
||||||
run: make
|
run: make
|
||||||
- name: CLI tests
|
- name: CLI tests
|
||||||
run: ./test_script.sh
|
run: bash -x ./test_script.sh
|
||||||
|
- name: SQL tests
|
||||||
|
run: bash -x ./test_sql.sh
|
||||||
- name: ODBC tests
|
- name: ODBC tests
|
||||||
run: env MDBPATH=test/data ./src/odbc/unittest
|
run: env MDBPATH=test/data ./src/odbc/unittest
|
||||||
- name: pkg-config libmdb test
|
- name: pkg-config libmdb test
|
||||||
|
@ -43,6 +43,7 @@ test_script:
|
|||||||
{
|
{
|
||||||
$env:MSYSTEM="MINGW64"
|
$env:MSYSTEM="MINGW64"
|
||||||
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && ./test_script.sh"
|
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && ./test_script.sh"
|
||||||
|
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && ./test_sql.sh"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash
|
||||||
|
|
||||||
# Simple test script; run after performing
|
# Simple test script; run after performing
|
||||||
# git clone https://github.com/mdbtools/mdbtestdata.git test
|
# git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||||
@ -14,5 +14,4 @@
|
|||||||
./src/util/mdb-tables test/data/nwind.mdb
|
./src/util/mdb-tables test/data/nwind.mdb
|
||||||
./src/util/mdb-ver test/data/ASampleDatabase.accdb
|
./src/util/mdb-ver test/data/ASampleDatabase.accdb
|
||||||
./src/util/mdb-ver test/data/nwind.mdb
|
./src/util/mdb-ver test/data/nwind.mdb
|
||||||
./src/util/mdb-sql -i test/sql/nwind.sql test/data/nwind.mdb
|
|
||||||
./src/util/mdb-queries test/data/ASampleDatabase.accdb qryCostsSummedByOwner
|
./src/util/mdb-queries test/data/ASampleDatabase.accdb qryCostsSummedByOwner
|
||||||
|
5
test_sql.sh
Executable file
5
test_sql.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Simple test script; run after performing
|
||||||
|
# git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||||
|
./src/util/mdb-sql -i test/sql/nwind.sql test/data/nwind.mdb
|
Loading…
Reference in New Issue
Block a user