mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add additional command
This commit is contained in:
parent
50c520d660
commit
03fe0c6f01
1 changed files with 8 additions and 2 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-nix:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -16,20 +16,23 @@ jobs:
|
|||
- os: ubuntu-latest
|
||||
toolchain: x86_64-unknown-linux-musl
|
||||
platform: linux
|
||||
command: sudo apt install -y musl
|
||||
ext:
|
||||
- os: windows-latest
|
||||
toolchain: x86_64-pc-windows-gnu
|
||||
platform: windows
|
||||
command:
|
||||
ext: .exe
|
||||
- os: macos-latest
|
||||
toolchain: x86_64-apple-darwin
|
||||
platform: darwin
|
||||
command:
|
||||
ext:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Cargo cache # https://github.com/actions/cache/blob/main/examples.md#rust---cargo
|
||||
- name: Cargo cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
|
|
@ -48,6 +51,9 @@ jobs:
|
|||
target: ${{ matrix.toolchain }}
|
||||
default: true
|
||||
|
||||
- name: Additional command
|
||||
run: ${{ matrix.command }}
|
||||
|
||||
- name: Test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue