name: "Continuous Integration"
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: "always"
TZ: "UTC"
RUST_BACKTRACE: "full"
RUSTFLAGS: "-C opt-level=0 -g"
jobs:
ubuntu:
name: Check, Build and Test (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2025-04-16
override: true
- name: check
uses: actions-rs/cargo@v1
with:
command: check
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: upload target artifacts
uses: actions/upload-artifact@v4
with:
name: target-ubuntu
path: target
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: doc
uses: actions-rs/cargo@v1
with:
command: doc