mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-20 18:50:12 +03:00
* chore: add llvm-common to build container * ci: run tests also on clang * ci: run ci on all branches * ci: fix if for clang * fix: change package to llvm15.0 * chore: fix clang warning about assignment inside if
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: gpui-ci
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
push:
|
|
branches: [ "*" ]
|
|
pull_request:
|
|
types: [ opened, synchronize, ready_for_review ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
gpui-build-container:
|
|
uses: ./.github/workflows/build-container.yml
|
|
secrets: inherit
|
|
strategy:
|
|
matrix:
|
|
os: [ { distr: "alt:sisyphus", artifact: "sisyphus" } ]
|
|
architecture: [ amd64, i386 ]
|
|
with:
|
|
distr: ${{ matrix.os.distr }}
|
|
architecture: ${{ matrix.architecture }}
|
|
|
|
gpui-build:
|
|
uses: ./.github/workflows/build.yml
|
|
needs: [ gpui-build-container ]
|
|
secrets: inherit
|
|
strategy:
|
|
matrix:
|
|
os: [ { distr: "alt:sisyphus", artifact: "sisyphus" } ]
|
|
architecture: [ amd64, i386 ]
|
|
fail-fast: false
|
|
with:
|
|
artifact: ${{ matrix.os.artifact }}
|
|
architecture: ${{ matrix.architecture }}
|
|
|
|
gpui-test:
|
|
uses: ./.github/workflows/test.yml
|
|
needs: [ gpui-build-container ]
|
|
secrets: inherit
|
|
strategy:
|
|
matrix:
|
|
cpp-compiler: [ "gcc", "clang" ]
|
|
fail-fast: false
|
|
with:
|
|
architecture: "amd64"
|
|
cpp-compiler: ${{ matrix.cpp-compiler }}
|
|
|
|
gpui-publish-api-docs:
|
|
uses: ./.github/workflows/publish-api-docs.yml
|
|
needs: [ gpui-build, gpui-test ]
|
|
secrets: inherit
|