Skip to content

Commit

Permalink
Skip x86 build on Windows due to out-of-memory errors on the CI machi…
Browse files Browse the repository at this point in the history
…nes.
  • Loading branch information
s-ludwig committed Feb 14, 2024
1 parent 61b61ac commit 369ee3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
env:
VIBED_DRIVER: vibe-core
PARTS: ${{ matrix.parts }}
OS: ${{ matrix.os }}
shell: bash
run: |
./run-ci.sh
Expand Down Expand Up @@ -104,10 +105,11 @@ jobs:
compiler: ${{ matrix.dc }}
dub: 1.29.0

- name: '[POSIX] Run tests'
- name: '[WINDOWS] Run tests'
env:
VIBED_DRIVER: vibe-core
PARTS: ${{ matrix.parts }}
OS: ${{ matrix.os }}
shell: bash
run: |
./run-ci.sh
2 changes: 1 addition & 1 deletion run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [[ $PARTS =~ (^|,)builds(,|$) ]]; then
dub clean --all-packages

# test for successful 32-bit build
if [ "$DC" == "dmd" ]; then
if [ "$DC" == "dmd" && "$OS" != "windows-latest" ]; then
dub build --combined --arch=x86
dub clean --all-packages
fi
Expand Down

0 comments on commit 369ee3c

Please sign in to comment.