Skip to content

Commit

Permalink
update github workflows configs
Browse files Browse the repository at this point in the history
  • Loading branch information
i80287 committed Oct 24, 2024
1 parent c51928b commit f27d9bd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Fedora CI
on: [push, workflow_dispatch]

permissions:
contents: read
contents: read

env:
UBSAN_OPTIONS: print_stacktrace=1
ASAN_OPTIONS: print_stats=1:atexit=1:detect_odr_violation=2
UBSAN_OPTIONS: print_stacktrace=1
ASAN_OPTIONS: print_stats=1:atexit=1:detect_odr_violation=2

jobs:

Expand Down Expand Up @@ -36,8 +36,7 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_gcc_tests.sh
./run_gcc_tests.sh
chmod +x run_gcc_tests.sh && ./run_gcc_tests.sh
fedora-cmake-clang:
name: test-fedora-clang
Expand All @@ -63,6 +62,4 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_clang_tests.sh
./run_clang_tests.sh
cd ./tests && chmod +x run_clang_tests.sh && ./run_clang_tests.sh
4 changes: 1 addition & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x run_macos_clang_tests.sh
./run_macos_clang_tests.sh
cd ./tests && chmod +x run_macos_clang_tests.sh && ./run_macos_clang_tests.sh
22 changes: 7 additions & 15 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Ubuntu CI
on: [push, workflow_dispatch]

permissions:
contents: read
contents: read

env:
UBSAN_OPTIONS: print_stacktrace=1
ASAN_OPTIONS: print_stats=1:atexit=1:detect_odr_violation=2
UBSAN_OPTIONS: print_stacktrace=1
ASAN_OPTIONS: print_stats=1:atexit=1:detect_odr_violation=2

jobs:

Expand All @@ -34,9 +34,7 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_gcc_tests.sh
./run_gcc_tests.sh
cd ./tests && chmod +x run_gcc_tests.sh && ./run_gcc_tests.sh
ubuntu-cmake-clang:
name: test-clang-on-ubuntu-${{ matrix.ubuntu_version }}
Expand All @@ -61,9 +59,7 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_clang_tests.sh
./run_clang_tests.sh
cd ./tests && chmod +x run_clang_tests.sh && ./run_clang_tests.sh
ubuntu-cmake-gcc-mingw-w64-i686-posix:
name: test-gcc-mingw-w64-i686-posix-on-ubuntu-${{ matrix.ubuntu_version }}
Expand Down Expand Up @@ -93,9 +89,7 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_gcc_mingw_32_tests.sh
./run_gcc_mingw_32_tests.sh
cd ./tests && chmod +x run_gcc_mingw_32_tests.sh && ./run_gcc_mingw_32_tests.sh
ubuntu-cmake-gcc-mingw-w64-x86_64-posix:
name: test-gcc-mingw-w64-x86_64-posix-on-ubuntu-${{ matrix.ubuntu_version }}
Expand Down Expand Up @@ -125,6 +119,4 @@ jobs:
- name: Run tests
run: |
cd ./tests
chmod +x ./run_gcc_mingw_64_tests.sh
./run_gcc_mingw_64_tests.sh
cd ./tests && chmod +x run_gcc_mingw_64_tests.sh && ./run_gcc_mingw_64_tests.sh

0 comments on commit f27d9bd

Please sign in to comment.