mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
Merge pull request #2013 from sylvestre/make-github
GitHub action - Test the build target of the Makefile
This commit is contained in:
commit
949673948d
3 changed files with 24 additions and 2 deletions
22
.github/workflows/CICD.yml
vendored
22
.github/workflows/CICD.yml
vendored
|
@ -181,6 +181,28 @@ jobs:
|
||||||
cd tmp/busybox-*/testsuite
|
cd tmp/busybox-*/testsuite
|
||||||
S=$(bindir=$bindir ./runtest) && printf "%s\n" "$S" || { printf "%s\n" "$S" | grep "FAIL:" | sed -e "s/FAIL: /::warning ::Test failure:/g" ; }
|
S=$(bindir=$bindir ./runtest) && printf "%s\n" "$S" || { printf "%s\n" "$S" | grep "FAIL:" | sed -e "s/FAIL: /::warning ::Test failure:/g" ; }
|
||||||
|
|
||||||
|
makefile_build:
|
||||||
|
name: Test the build target of the Makefile
|
||||||
|
runs-on: ${{ matrix.job.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
job:
|
||||||
|
- { os: ubuntu-latest }
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install `rust` toolchain
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
default: true
|
||||||
|
profile: minimal # minimal component installation (ie, no documentation)
|
||||||
|
- name: "Run make build"
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo apt-get -y update ; sudo apt-get -y install python3-sphinx;
|
||||||
|
make build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: ${{ matrix.job.os }}
|
||||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1668,7 +1668,7 @@ dependencies = [
|
||||||
name = "uu_csplit"
|
name = "uu_csplit"
|
||||||
version = "0.0.4"
|
version = "0.0.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"getopts",
|
"clap",
|
||||||
"glob 0.2.11",
|
"glob 0.2.11",
|
||||||
"regex",
|
"regex",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
// spell-checker:ignore (ToDO) filts, minidx, minkey paridx
|
// spell-checker:ignore (ToDO) filts, minidx, minkey paridx
|
||||||
|
|
||||||
use std::iter::{Chain, Cycle, Copied};
|
use std::iter::{Chain, Copied, Cycle};
|
||||||
use std::slice::Iter;
|
use std::slice::Iter;
|
||||||
|
|
||||||
/// A lazy Sieve of Eratosthenes.
|
/// A lazy Sieve of Eratosthenes.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue