Skip to content

Commit

Permalink
update te CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HiGarfield committed Sep 29, 2024
1 parent b945070 commit 653173c
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 653173c

Please sign in to comment.