Skip to content

ci: drop Circle CI in favor of Github Actions #1148

ci: drop Circle CI in favor of Github Actions

ci: drop Circle CI in favor of Github Actions #1148

Workflow file for this run

name: Build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [push, pull_request]
jobs:
Lint:
runs-on: ubuntu-latest
container:
image: koreader/kobase:0.3.4-20.04
options: --user root
env:
BASH_ENV: '/root/.bashrc'
CLICOLOR_FORCE: '1'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
clean: false
fetch-depth: 1
show-progress: false
- name: Fix checkout ownership
run: chown 'root:root' .
- name: Lint
run: .ci/lint_script.sh
Emulator:
needs: Lint
uses: ./.github/workflows/build_matrix.yml
with:
matrix: |
{
"include": [
{
"job": "Clang",
"cache": "emu_clang",
"image": "koreader/kobase-clang:0.3.4-20.04",
"makeflags": "USE_CLANG=1",
"test": true
},
{
"job": "GCC",
"cache": "emu_gcc",
"image": "koreader/kobase:0.3.4-20.04",
"test": true
},
{
"job": "GCC Debug",
"cache": "emu_gcc_debug",
"cache_size": "256M",
"image": "koreader/kobase:0.3.4-20.04",
"makeflags": "KODEBUG=1",
"test": true
}
]
}
macOS:
needs: Emulator
uses: ./.github/workflows/build_matrix.yml
with:
fail-fast: false
matrix: |
{
"include": [
{
"job": "13 x86-64 🔨15.2 🎯10.15",
"cache": "macos.13_x86_64_xcode.15.2_10.15",
"runs-on": "macos-13",
"xcode_version": "15.2",
"macosx_deployment_target": "10.15",
"test": true
},
{
"job": "14 ARM64 🔨15.4 🎯11.0",
"cache": "macos.14_ARM64_xcode.15.4_11.0",
"runs-on": "macos-14",
"xcode_version": "15.4",
"macosx_deployment_target": "11.0",
"test": true
},
{
"job": "15 ARM64 🔨16.0 🎯14.6.1",
"cache": "macos.15_ARM64_xcode.16.0_14.6.1",
"runs-on": "macos-15",
"xcode_version": "16.0",
"macosx_deployment_target": "14.6.1",
"test": true
}
]
}
Platform:
needs: Emulator
uses: ./.github/workflows/build_matrix.yml
with:
fail-fast: false
matrix: |
{
"include": [
{
"job": "Android ARM",
"cache": "android_arm",
"image": "koreader/koandroid:0.8.3-20.04",
"target": "android",
"makeflags": "ANDROID_ARCH=arm"
},
{
"job": "Android ARM64",
"cache": "android_arm64",
"image": "koreader/koandroid:0.8.3-20.04",
"target": "android",
"makeflags": "ANDROID_ARCH=arm64"
},
{
"job": "Cervantes",
"cache": "cervantes",
"image": "koreader/kocervantes:0.3.4-20.04",
"target": "cervantes"
},
{
"job": "Kindle",
"cache": "kindle",
"image": "koreader/kokindle:0.3.4-20.04",
"target": "kindle"
},
{
"job": "Kindle Legacy",
"cache": "kindle_legacy",
"image": "koreader/kokindle:0.3.4-20.04",
"target": "kindle-legacy"
},
{
"job": "Kobo",
"cache": "kobo",
"image": "koreader/kokobo:0.3.4-20.04",
"target": "kobo"
},
{
"job": "PocketBook",
"cache": "pocketbook",
"image": "koreader/kopb:0.4.3-20.04",
"target": "pocketbook"
},
{
"job": "Sony PRSTUX",
"cache": "sony_prstux",
"image": "koreader/kodeb:0.1.1-20.04",
"target": "sony-prstux"
}
]
}
# vim: foldmethod=marker foldlevel=0