52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
on: [push]
|
|
name: CI
|
|
jobs:
|
|
build:
|
|
name: Saltfish
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release
|
|
build_custom_pieces:
|
|
name: Saltfish [custom_pieces]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release --no-default-features --features "custom_pieces"
|
|
build_cmdargs:
|
|
name: Saltfish [cmdargs]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release --no-default-features --features "cmdargs"
|
|
build_cmdargs_custom_pieces:
|
|
name: Saltfish [cmdargs custom_pieces]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --release --no-default-features --features "cmdargs custom_pieces"
|