Skip to content

make assigning rowid safe for concurrent access #75

make assigning rowid safe for concurrent access

make assigning rowid safe for concurrent access #75

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
concurrency:
# Cancels pending runs when a PR gets updated.
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
sqlite:
- version: 3.26.0
year: 2018
- version: 3.30.1
year: 2019
- version: 3.34.1
year: 2021
- version: 3.38.5
year: 2022
- version: 3.42.0
year: 2023
- version: 3.45.0
year: 2024
runs-on: ${{ matrix.os }}
env:
SQLITE_VERSION: ${{ matrix.sqlite.version }}
SQLITE_YEAR: ${{ matrix.sqlite.year }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: |
~/deps
zig-cache
~/.cache/zig
~/AppData/Local/zig
key: test-${{ runner.os }}-sqlite-${{ matrix.sqlite.version }}
- name: Test (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sh ci/linux-x86_64-test.sh
- name: Test (MacOS)
if: ${{ matrix.os == 'macos-latest' }}
run: ci/macos-x86_64-test.sh
- name: Test (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: ci/windows-x86_64-test.ps1