Skip to content

Commit

Permalink
Semaphore CI 2.0: Switch to fastest machine type
Browse files Browse the repository at this point in the history
As the prices scale linearly, the machine with 8 cores and 16 GB RAM
costs 4x as much (per second) as the one with 2 cores and 4 GB.

Our run should scale pretty well with CPU cores, so the overall cost
shouldn't be much higher.
  • Loading branch information
kinke committed Mar 16, 2019
1 parent 439ac70 commit 77216d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: v1.0
name: LDC
agent:
machine:
type: e1-standard-2
type: e1-standard-8
os_image: ubuntu1804

blocks:
Expand Down Expand Up @@ -47,13 +47,13 @@ blocks:
-DMULTILIB=ON \
-DLDC_INSTALL_LTOPLUGIN=ON \
-DLDC_INSTALL_LLVM_RUNTIME_LIBS=ON
- ninja -j2 all ldc2-unittest all-test-runners
- ninja -j8 all ldc2-unittest all-test-runners
- bin/ldc2 -version
# Run LDC D unittests
- ctest --output-on-failure -R ldc2-unittest
# Run LIT testsuite
- ctest -V -R lit-tests
# Run DMD testsuite
- DMD_TESTSUITE_MAKE_ARGS=-j4 ctest -V -R dmd-testsuite
- DMD_TESTSUITE_MAKE_ARGS=-j8 ctest -V -R dmd-testsuite
# Run defaultlib unittests & druntime stand-alone tests
- ctest -j4 --output-on-failure -E "ldc2-unittest|lit-tests|dmd-testsuite"
- ctest -j8 --output-on-failure -E "ldc2-unittest|lit-tests|dmd-testsuite"

0 comments on commit 77216d7

Please sign in to comment.