Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: Run GNU tests (native)
runs-on: ubuntu-24.04
steps:
#### Get the code, setup cache
#### Get the code
- name: Checkout code (uutils)
uses: actions/checkout@v6
with:
Expand All @@ -49,15 +49,6 @@ jobs:
workspaces: "./uutils -> target"
- name: Checkout code (GNU coreutils)
run: (mkdir -p gnu && cd gnu && bash ../uutils/util/fetch-gnu.sh)
- name: Restore files for faster configure and skipping make
uses: actions/cache@v5
id: cache-config-gnu
with:
path: |
gnu/config.cache
gnu/src/getlimits
key: ${{ runner.os }}-gnu-config-${{ hashFiles('gnu/NEWS') }}-${{ hashFiles('uutils/util/build-gnu.sh') }} # use build-gnu.sh for extremely safe caching

#### Build environment setup
- name: Install dependencies
shell: bash
Expand Down Expand Up @@ -102,15 +93,6 @@ jobs:
cd 'uutils'
env PROFILE=release-small bash util/build-gnu.sh

- name: Save files for faster configure and skipping make
uses: actions/cache/save@v5
if: always() && steps.cache-config-gnu.outputs.cache-hit != 'true'
with:
path: |
gnu/config.cache
gnu/src/getlimits
key: ${{ runner.os }}-gnu-config-${{ hashFiles('gnu/NEWS') }}-${{ hashFiles('uutils/util/build-gnu.sh') }}

### Run tests as user
- name: Run GNU tests
shell: bash
Expand Down Expand Up @@ -198,7 +180,7 @@ jobs:
name: Run GNU tests (SELinux)
runs-on: ubuntu-24.04
steps:
#### Get the code, setup cache
#### Get the code
- name: Checkout code (uutils)
uses: actions/checkout@v6
with:
Expand Down
Loading