name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
container: debian:11
steps:
- name: Install
run: |
apt-get update -y && apt-get upgrade -y
apt-get install -y gcc curl git
curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Get files
uses: actions/checkout@v4
- name: Build
run: /github/home/.cargo/bin/cargo build --verbose
- name: Run tests
run: /github/home/.cargo/bin/cargo test --verbose
- name: GalM Command tests
run: |
/github/home/.cargo/bin/cargo build --example galm --release
bash -e ./.github/scripts/galm_spec.sh