Skip to content

Update code submodule for release #30

Update code submodule for release

Update code submodule for release #30

Workflow file for this run

#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
#
name: "CI"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
push-checks:
name: Push
uses: seL4/ci-actions/.github/workflows/push.yml@master
build-and-check:
name: Build and check
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- run: |
make ci
- name: Upload Pages artifact
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: actions/upload-pages-artifact@v3
with:
path: build/assembled
deploy-book:
name: Deploy book
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
needs: [build-and-check]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4