Skip to content

Commit

Permalink
GH Actions: Reduce amount of jobs in zig build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Jan 12, 2024
1 parent a030208 commit c0936ed
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/zig-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
name: ${{ matrix.os }} thr:${{ matrix.enable_threads }} rwlock:${{ matrix.enable_rwlock }} redir:${{ matrix.redirect_malloc }} gcdeb:${{ matrix.enable_gc_debug }} munmap:${{ matrix.enable_munmap }} paramark:${{ matrix.parallel_mark }} thrlocal:${{ matrix.thread_local_alloc }} dll:${{ matrix.shared_libs }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
timeout-minutes: 6

strategy:
fail-fast: false
Expand Down Expand Up @@ -38,12 +38,42 @@ jobs:
thread_local_alloc: true
- enable_gc_debug: true # FIXME: some tests fail if gc_debug+redirect
redirect_malloc: true
# The following ones are long-running jobs, thus excluded.
- os: macos-latest
enable_gc_debug: true
enable_rwlock: true
# The following ones just to reduce amount of jobs.
- enable_munmap: false
shared_libs: true
- enable_munmap: true
enable_threads: false
shared_libs: false
- enable_gc_debug: true
enable_rwlock: true
thread_local_alloc: false
- os: macos-latest
enable_munmap: false
enable_threads: false
- os: macos-latest
enable_munmap: false
enable_rwlock: true
- os: macos-latest
enable_rwlock: true
thread_local_alloc: false
- os: macos-latest
enable_rwlock: true
parallel_mark: false
- os: macos-latest
enable_munmap: false
redirect_malloc: false
- os: macos-latest
enable_threads: true
redirect_malloc: false
thread_local_alloc: false
- os: macos-latest
enable_threads: true
parallel_mark: false
redirect_malloc: false

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c0936ed

Please sign in to comment.