diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2911ee8..aa3d95c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,21 +28,23 @@ jobs: ref: master fetch-depth: 0 - - name: Compile dynamic + - name: Compile macos if: ${{ startsWith( matrix.os, 'macos-' ) }} run: | make sudo ./tests/process_iterator_test - cp ./tests/process_iterator_test ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi - sudo ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi + random_filename="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 255)" + cp ./tests/process_iterator_test ./tests/${random_filename} + sudo ./tests/${random_filename} - - name: Compile static + - name: Compile ubuntu if: ${{ startsWith( matrix.os, 'ubuntu-' ) }} run: | make LDFLAGS="-static" sudo ./tests/process_iterator_test - cp ./tests/process_iterator_test ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi - sudo ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi + random_filename="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 255)" + cp ./tests/process_iterator_test ./tests/${random_filename} + sudo ./tests/${random_filename} - name: Upload uses: actions/upload-artifact@main @@ -72,8 +74,9 @@ jobs: run: | gmake sudo ./tests/process_iterator_test - cp ./tests/process_iterator_test ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi - sudo ./tests/abcdefghijklmnopqrstuvwxyzabcdefghi + random_filename="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 255)" + cp ./tests/process_iterator_test ./tests/${random_filename} + sudo ./tests/${random_filename} - name: Upload uses: actions/upload-artifact@main