diff options
| author | 2021-08-18 22:52:02 +0200 | |
|---|---|---|
| committer | 2021-08-18 22:52:04 +0200 | |
| commit | 6e6e567cbe0944fdb6497e9771a58fe884740b9b (patch) | |
| tree | 96b71748d26e65155c8021c9072ca23cc26cb4bc | |
| parent | ci: enable macOS (diff) | |
| download | zig-sqlite-6e6e567cbe0944fdb6497e9771a58fe884740b9b.tar.gz zig-sqlite-6e6e567cbe0944fdb6497e9771a58fe884740b9b.tar.xz zig-sqlite-6e6e567cbe0944fdb6497e9771a58fe884740b9b.zip | |
ci: stop testing both memory and filesystem
We don't do much when choosing in memory or not, sqlite does all the
work of managing the data, so there's not much point for us testing both
modes.
This will also have the benefit of reducing the time needed to run the
CI, especially for aarch64 which is super slow.
| -rw-r--r-- | .builds/alpine-edge-amd64.yml | 8 | ||||
| -rw-r--r-- | .builds/debian-stable-aarch64.yml | 5 | ||||
| -rw-r--r-- | .builds/debian-stable-amd64.yml | 8 | ||||
| -rw-r--r-- | .builds/freebsd-latest-amd64.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 17 |
5 files changed, 3 insertions, 39 deletions
diff --git a/.builds/alpine-edge-amd64.yml b/.builds/alpine-edge-amd64.yml index 5197bfa..4083853 100644 --- a/.builds/alpine-edge-amd64.yml +++ b/.builds/alpine-edge-amd64.yml | |||
| @@ -25,14 +25,6 @@ tasks: | |||
| 25 | cd zig-sqlite | 25 | cd zig-sqlite |
| 26 | TERM=dumb zig build test -Din_memory=true | 26 | TERM=dumb zig build test -Din_memory=true |
| 27 | 27 | ||
| 28 | - test_filesystem: | | ||
| 29 | cd zig-sqlite | ||
| 30 | TERM=dumb zig build test -Din_memory=false | ||
| 31 | |||
| 32 | - test_in_memory_with_qemu: | | 28 | - test_in_memory_with_qemu: | |
| 33 | cd zig-sqlite | 29 | cd zig-sqlite |
| 34 | TERM=dumb zig build test -Din_memory=true -Denable_qemu=true | 30 | TERM=dumb zig build test -Din_memory=true -Denable_qemu=true |
| 35 | |||
| 36 | - test_filesystem_with_qemu: | | ||
| 37 | cd zig-sqlite | ||
| 38 | TERM=dumb zig build test -Din_memory=false -Denable_qemu=true | ||
diff --git a/.builds/debian-stable-aarch64.yml b/.builds/debian-stable-aarch64.yml index bcca906..2c2556d 100644 --- a/.builds/debian-stable-aarch64.yml +++ b/.builds/debian-stable-aarch64.yml | |||
| @@ -15,6 +15,7 @@ tasks: | |||
| 15 | mv ~/zig-linux-* ~/zig-master | 15 | mv ~/zig-linux-* ~/zig-master |
| 16 | echo "export PATH=$PATH:~/zig-master" >> ~/.buildenv | 16 | echo "export PATH=$PATH:~/zig-master" >> ~/.buildenv |
| 17 | 17 | ||
| 18 | - test_filesystem: | | 18 | - test_in_memory: | |
| 19 | cd zig-sqlite | 19 | cd zig-sqlite |
| 20 | TERM=dumb zig build test -Din_memory=false | 20 | TERM=dumb zig build test -Din_memory=true |
| 21 | |||
diff --git a/.builds/debian-stable-amd64.yml b/.builds/debian-stable-amd64.yml index 00a2bd2..d8b2337 100644 --- a/.builds/debian-stable-amd64.yml +++ b/.builds/debian-stable-amd64.yml | |||
| @@ -20,14 +20,6 @@ tasks: | |||
| 20 | cd zig-sqlite | 20 | cd zig-sqlite |
| 21 | TERM=dumb zig build test -Din_memory=true | 21 | TERM=dumb zig build test -Din_memory=true |
| 22 | 22 | ||
| 23 | - test_filesystem: | | ||
| 24 | cd zig-sqlite | ||
| 25 | TERM=dumb zig build test -Din_memory=false | ||
| 26 | |||
| 27 | - test_in_memory_with_qemu: | | 23 | - test_in_memory_with_qemu: | |
| 28 | cd zig-sqlite | 24 | cd zig-sqlite |
| 29 | TERM=dumb zig build test -Din_memory=true -Denable_qemu=true | 25 | TERM=dumb zig build test -Din_memory=true -Denable_qemu=true |
| 30 | |||
| 31 | - test_filesystem_with_qemu: | | ||
| 32 | cd zig-sqlite | ||
| 33 | TERM=dumb zig build test -Din_memory=false -Denable_qemu=true | ||
diff --git a/.builds/freebsd-latest-amd64.yml b/.builds/freebsd-latest-amd64.yml index e4e344a..0f1c98a 100644 --- a/.builds/freebsd-latest-amd64.yml +++ b/.builds/freebsd-latest-amd64.yml | |||
| @@ -18,7 +18,3 @@ tasks: | |||
| 18 | - test_in_memory: | | 18 | - test_in_memory: | |
| 19 | cd zig-sqlite | 19 | cd zig-sqlite |
| 20 | TERM=dumb zig build test -Din_memory=true | 20 | TERM=dumb zig build test -Din_memory=true |
| 21 | |||
| 22 | - test_filesystem: | | ||
| 23 | cd zig-sqlite | ||
| 24 | TERM=dumb zig build test -Din_memory=false | ||
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce03bf2..e1593b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
| @@ -41,20 +41,3 @@ jobs: | |||
| 41 | 41 | ||
| 42 | - name: Run Tests in memory | 42 | - name: Run Tests in memory |
| 43 | run: zig build test -Din_memory=true | 43 | run: zig build test -Din_memory=true |
| 44 | |||
| 45 | test-with-filesystem: | ||
| 46 | strategy: | ||
| 47 | fail-fast: false | ||
| 48 | matrix: | ||
| 49 | os: [ubuntu-latest, windows-latest, macos-latest] | ||
| 50 | runs-on: ${{ matrix.os }} | ||
| 51 | steps: | ||
| 52 | - uses: actions/checkout@v2 | ||
| 53 | with: | ||
| 54 | submodules: true | ||
| 55 | - uses: goto-bus-stop/setup-zig@v1 | ||
| 56 | with: | ||
| 57 | version: master | ||
| 58 | |||
| 59 | - name: Run Tests with filesystem | ||
| 60 | run: zig build test -Din_memory=false | ||