Skip to content

Commit

Permalink
Give acion runs better names
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Jan 3, 2025
1 parent 1d7b086 commit 227e55b
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,50 +34,53 @@ jobs:
matrix:
lib_type: [shared, static]
# Can't test DB2 as required db2exc package is no longer available after Ubuntu 14.04
backend: [sqlite3, postgresql, mysql, firebird, oracle, odbc, empty, valgrind]
backend: [SQLite3, PostgreSQL, MySQL, Firebird, Oracle, ODBC, Empty, Valgrind]
runner: [ubuntu-22.04]
cxxstd: [14]
test_release_package: [false]
build_examples: [false]
include:
- backend: empty
- backend: Empty
runner: macos-14
no_boost: true
- backend: postgresql
- backend: PostgreSQL
runner: macos-14
no_boost: true
- backend: sqlite3
- backend: SQLite3
runner: macos-14
no_boost: true
- backend: oracle
- backend: Oracle
no_boost: true
runner: ubuntu-22.04
- name: SQLite3 Cxx17
backend: sqlite3
backend: SQLite3
cxxstd: 17
runner: ubuntu-22.04
- name: Release package
backend: empty
backend: Empty
test_release_package: true
runner: ubuntu-22.04
- name: Examples
backend: empty
backend: Empty
build_examples: true
runner: ubuntu-22.04

runs-on: ${{ matrix.runner }}
name: ${{ matrix.backend }}-${{ matrix.lib_type }} (${{ matrix.runner }})

env:
SOCI_CI: true
SOCI_CI_BACKEND: ${{ matrix.backend }}
SOCI_MYSQL_ROOT_PASSWORD: root
ASAN_OPTIONS: fast_unwind_on_malloc=0
UBSAN_OPTIONS: 'print_stacktrace=1:halt_on_error=1'

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set environment variables
shell: bash
run: |
set_env_var() {
echo "Setting environment variable $1=$2"
Expand Down Expand Up @@ -115,7 +118,9 @@ jobs:
if [ "${{matrix.lib_type}}" = "static" ]; then
set_env_var SOCI_BUILD_STATIC YES
fi
set_env_var UBSAN_OPTIONS print_stacktrace=1:halt_on_error=1
# Ensure SOCI_CI_BACKEND is always lowercase
echo "Backend is $SOCI_CI_BACKEND"
set_env_var SOCI_CI_BACKEND "${SOCI_CI_BACKEND@L}"
- name: Setup tmate
if: ${{ github.event_name == 'workflow_dispatch' && inputs.enable_ssh }}
Expand Down

0 comments on commit 227e55b

Please sign in to comment.