run the GNU testsuite in the CI

This commit is contained in:
Sylvestre Ledru
2021-09-07 23:30:14 +02:00
parent 4ead9a3c62
commit bf478a140d
+30 -1
View File
@@ -138,4 +138,33 @@ jobs:
with:
# file: ${{ steps.grcov.outputs.report }}
file: lcov.info
fail_ci_if_error: true
fail_ci_if_error: true
gnu:
name: GNU testsuite
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
toolchain:
- nightly
cargo_flags:
- "--all-features"
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Run the gnu testsuite
id: gnu
run: |
sudo apt install autopoint
git clone https://git.savannah.gnu.org/git/findutils.git ../findutils.gnu
bash util/build-gnu.sh || true