Skip to content

debug

debug #75

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- "**"
tags-ignore:
- "omegasort-*"
pull_request:
env:
CRATE_NAME: omegasort
RUST_BACKTRACE: 1
jobs:
test:
name: Test - ${{ matrix.platform.os-name }} with rust ${{ matrix.toolchain }}
runs-on: ${{ matrix.platform.runs-on }}
strategy:
fail-fast: false
matrix:
platform:
- os-name: Linux-x86_64
runs-on: ubuntu-20.04
target: x86_64-unknown-linux-musl
name: omegasort-Linux-x86_64-musl.tar.gz
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- name: Build binary
uses: houseabsolute/actions-rust-cross@debug-omegasort
with:
command: "build"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
strip: true
- name: Run tests
uses: houseabsolute/actions-rust-cross@v1
with:
command: "test"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
if: ${{ !matrix.platform.skip_tests }}
- name: Debug
run: |
sudo apt-get -y update
sudo apt-get install -y tree
tree .
- name: Publish artifacts and release
uses: houseabsolute/actions-rust-release@v0
with:
executable-name: omegasort
target: ${{ matrix.platform.target }}
if: matrix.toolchain == 'stable'