File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 4040 fail-fast : false
4141 matrix :
4242 # https://www.cockroachlabs.com/docs/releases/release-support-policy
43- crdb : [v23.2, v24.1, v24.3]
43+ crdb : [v24.3]
4444 ruby : ["3.4"]
45- name : Test (crdb=${{ matrix.crdb }} ruby=${{ matrix.ruby }})
45+ conf :
46+ [
47+ " --max-sql-memory=25% --cache=25%" ,
48+ " --max-sql-memory=25% --cache=25% --store=type=mem,size=20%" ,
49+ " --max-sql-memory=50% --cache=50% --store=type=mem,size=50%" ,
50+ " --max-sql-memory=90% --cache=90% --store=type=mem,size=90%" ,
51+ " --max-sql-memory=25% --cache=25% --store=type=mem,size=70%" ,
52+ ]
53+ name : " ${{ matrix.conf }}"
4654 steps :
4755 - name : Set Up Actions
4856 uses : actions/checkout@v4
7583
7684 # Start a CockroachDB server and wait for it to become ready.
7785 rm -f "$urlfile"
78- rm -rf cockroach-data
7986 # Start CockroachDB.
80- cockroach start-single-node --max-sql-memory=25% --cache=25% --insecure --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
87+ cockroach start-single-node --insecure ${{ matrix.conf }} --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
8188 # Ensure CockroachDB is stopped on script exit.
8289 # Wait until CockroachDB has started.
8390 for i in {0..3}; do
You can’t perform that action at this time.
0 commit comments