Add support for closing subscriptions #236
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
run-checks: | |
# To run all of the below checks locally, run `nix flake check -L` | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: build with GCC | |
check: packages-default | |
- name: build static | |
check: packages-ggl-sdk-static | |
- name: cross-build armv7l static | |
check: packages-ggl-sdk-static-armv7l | |
- name: cross-build aarch64 static | |
check: packages-ggl-sdk-static-aarch64 | |
- name: build with Clang | |
check: build-clang | |
- name: build shared lib | |
check: build-shared | |
- name: formatting | |
check: formatting | |
- name: clang-tidy | |
check: clang-tidy | |
- name: namespacing | |
check: namespacing | |
- name: cbmc-contracts | |
check: cbmc-contracts | |
- name: header includes | |
check: iwyu | |
- name: editorconfig | |
check: editorconfig | |
- name: spelling | |
check: spelling | |
- name: cmake-lint | |
check: cmake-lint | |
name: Check ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
filter: "tree:0" | |
- name: Install Nix | |
run: | |
curl --proto '=https' --tlsv1.2 -sSf -L | |
https://install.lix.systems/lix | sh -s -- install --no-confirm | |
- name: Check ${{ matrix.name }} | |
run: | | |
sudo tee -a /etc/nix/nix.conf > /dev/null <<EOF | |
extra-substituters = https://d17qv3gttz4z4k.cloudfront.net | |
extra-trusted-public-keys = gglite-nix-cache-1:Zdz1mEqn//xa8ORxHkc76auwxmX8/6C2K/zWRjmq8Co= | |
log-lines = 0 | |
EOF | |
nix build -L .#checks.x86_64-linux.${{ matrix.check }} |