Skip to content

func inline optimization, tail call changes, char literals in patterns #59

func inline optimization, tail call changes, char literals in patterns

func inline optimization, tail call changes, char literals in patterns #59

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: self-hosted
steps:
- name: Pulling changes
working-directory: workdir/
run: |
if [ -d "lumina/" ]; then
cd lumina/
git pull
else
git clone https://github.com/${{ github.repository }}.git lumina
echo "target" >> lumina/.gitignore
echo "mdbook/publish" >> lumina/.gitignore
fi
- name: Build Documentation
working-directory: workdir/lumina/mdbook
run: |
mdbook build -d publish/
- name: Test
working-directory: workdir/lumina
run: |
cargo test -- --nocapture