Skip to content

Added a batch for the linux build. Now for the grdb_linux_changes bra… #3

Added a batch for the linux build. Now for the grdb_linux_changes bra…

Added a batch for the linux build. Now for the grdb_linux_changes bra… #3

Workflow file for this run

# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
name: "Ubuntu Linux CI"
on:
push:
branches:
- master
- development
- grdb_linux_changes
paths:
- 'GRDB/**'
- 'Tests/**'
- '.github/workflows/**'
- 'Makefile'
- 'Package.swift'
- 'SQLiteCustom/src'
pull_request:
paths:
- 'GRDB/**'
- 'Tests/**'
- '.github/workflows/**'
- 'Makefile'
- 'Package.swift'
- 'SQLiteCustom/src'
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-and-test-on-linux:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
matrix:
os: [ubuntu-latest]
swift: ["6.1.0"]
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- name: Setup Environment
uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- name: Build SPM Package
run: swift build -c release -v
- name: Run tests
run: swift test -c release