Skip to content

use dev version of dep instead of runtime-only #48

use dev version of dep instead of runtime-only

use dev version of dep instead of runtime-only #48

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install -g sass
- name: Update repos
run: sudo apt update
- name: Install system level libraries
run: sudo apt install libpango1.0-dev libgtk-4-dev libgee-0.8-dev libgexiv2-dev meson ninja-build valac valadoc libpulse-dev libgnome-desktop-4-dev libgweather-4-dev libaccountsservice-dev libudisks2-dev libgudev-1.0-dev libgtop2-dev libxml2-dev libibus-1.0-dev
- name: Checkout libhelium
uses: actions/checkout@v3
with:
repository: tau-OS/libhelium
path: libhelium-src
- name: Install libhelium
run: meson build -Ddemo=false
working-directory: ./libhelium-src
- name: Build libhelium with Ninja
run: ninja
working-directory: ./libhelium-src/build
- name: Install libhelium globally
run: sudo ninja install
working-directory: ./libhelium-src/build
- name: Checkout libbismuth
uses: actions/checkout@v3
with:
repository: tau-OS/libbismuth
path: libbismuth-src
- name: Install libbismuth
run: meson build
working-directory: ./libbismuth-src
- name: Build libbismuth with Ninja
run: ninja
working-directory: ./libbismuth-src/build
- name: Install libbismuth globally
run: sudo ninja install
working-directory: ./libbismuth-src/build
- name: Checkout fusebox
uses: actions/checkout@v3
with:
repository: tau-OS/fusebox
path: fusebox-src
- name: Install fusebox
run: meson build
working-directory: ./fusebox-src
- name: Build fusebox with Ninja
run: ninja
working-directory: ./fusebox-src/build
- name: Install fusebox globally
run: sudo ninja install
working-directory: ./fusebox-src/build
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
default: true
components: rustfmt, clippy
- name: Generate docs
run: cargo install rustdoc-stripper
- run: ./generator.py --embed-docs
- run: cargo doc --no-deps
- run: mv target/doc/ docs
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "docs/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1