28 lines
641 B
YAML
28 lines
641 B
YAML
name: Smoke tests
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
|
|
jobs:
|
|
smoke:
|
|
name: Build and smoke test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install needed tools
|
|
run: |
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
sudo apt update && sudo apt install -y netcat-openbsd
|
|
|
|
- name: Build
|
|
run: cargo build
|
|
|
|
- name: Validate world data
|
|
run: ./target/debug/mudtool validate -w ./world
|
|
|
|
- name: Run smoke tests
|
|
run: ./run-tests.sh
|