Skip to content

Commit

Permalink
ci: Run meson dist
Browse files Browse the repository at this point in the history
This requires to change permissions for the directory to avoid git error:

    fatal: detected dubious ownership in repository at '/__w/iputils/iputils'
    To add an exception for this directory, call:

	    git config --global --add safe.directory /__w/iputils/iputils
    Error: Process completed with exit code 128.

(Only an old git 1.8.3.1 from CentOS 7 does not require that.)

Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Feb 12, 2024
1 parent 1c08152 commit a04f206
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
- name: Git checkout
uses: actions/checkout@v1

- name: Fix permissions
run: chown -Rv $(id -u):$(id -g) .

- name: Install additional packages
run: |
export INSTALL=${{ matrix.container }}
Expand All @@ -128,13 +131,16 @@ jobs:
- name: Show build log
run: ./build.sh build-log

- name: Dist
run: ./build.sh dist

- name: Install
run: ./build.sh install

- name: Show install log
run: ./build.sh install-log

- name: Run tests
- name: Tests
run: if [ ! "$SKIP_TESTS" ]; then ./build.sh test; else echo "tests skipped"; fi

- name: Show test log
Expand Down

0 comments on commit a04f206

Please sign in to comment.