Skip to content

Commit

Permalink
Avoid blocking on zullie’s task
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Jun 15, 2024
1 parent 8cb6f3a commit 22c8d7f
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_script:
build:aarch64-test-and-rebench:
stage: build-test
tags: [zullie1]

script:
- export PATH=/opt/local/bin:/opt/local/sbin:/Users/gitlab-runner/Library/Python/3.12/bin:${PATH}:${PYPY_BIN_DIR}

Expand All @@ -43,10 +43,9 @@ build:aarch64-test-and-rebench:
- SOM_INTERP=AST $RPYTHON --batch src/main_rpython.py
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
- ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)

- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
- rebench --experiment="CI ID $CI_PIPELINE_ID" --branch="$CI_COMMIT_REF_NAME" -c rebench.conf


build-and-test-interpreters:
stage: build-test
Expand All @@ -66,21 +65,20 @@ build-and-test-interpreters:
- ./som-bc-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som

- export SOM_INTERP=AST

# Unit Tests
- PYTHONPATH=src python3 -m pytest
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som

# Interpreter
- $RPYTHON --batch src/main_rpython.py
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
- ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som


# Package and Upload
- lz4 som-ast-interp som-ast-interp.lz4
- lz4 som-bc-interp som-bc-interp.lz4

- |
sftp tmp-artifacts << EOF
-mkdir incoming/${CI_PIPELINE_ID}/
Expand All @@ -94,7 +92,7 @@ build-and-test-jit-bc:
script:
- export PATH=$PATH:$PYPY_BIN_DIR
- export SOM_INTERP=BC

# JIT Compiled Version
- $RPYTHON --batch -Ojit src/main_rpython.py
- ./som-bc-jit -cp Smalltalk TestSuite/TestHarness.som
Expand All @@ -103,7 +101,7 @@ build-and-test-jit-bc:

# Package and Upload
- lz4 som-bc-jit som-bc-jit.lz4

- |
sftp tmp-artifacts << EOF
-mkdir incoming/${CI_PIPELINE_ID}/
Expand All @@ -116,7 +114,7 @@ build-and-test-jit-ast:
script:
- export PATH=$PATH:$PYPY_BIN_DIR
- export SOM_INTERP=AST

# JIT Compiled Version
- $RPYTHON --batch -Ojit src/main_rpython.py
- ./som-ast-jit -cp Smalltalk TestSuite/TestHarness.som
Expand All @@ -125,7 +123,7 @@ build-and-test-jit-ast:

# Package and Upload
- lz4 som-ast-jit som-ast-jit.lz4

- |
sftp tmp-artifacts << EOF
-mkdir incoming/${CI_PIPELINE_ID}/
Expand All @@ -134,13 +132,15 @@ build-and-test-jit-ast:
benchmark-y1:
stage: benchmark
needs:
[build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
tags: [yuria]
script:
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4

- lz4 -d som-ast-jit.lz4 som-ast-jit
- lz4 -d som-ast-interp.lz4 som-ast-interp
- lz4 -d som-bc-jit.lz4 som-bc-jit
Expand All @@ -151,13 +151,15 @@ benchmark-y1:

benchmark-y2:
stage: benchmark
needs:
[build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
tags: [yuria2]
script:
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4

- lz4 -d som-ast-jit.lz4 som-ast-jit
- lz4 -d som-ast-interp.lz4 som-ast-interp
- lz4 -d som-bc-jit.lz4 som-bc-jit
Expand All @@ -168,13 +170,15 @@ benchmark-y2:

benchmark-y3:
stage: benchmark
needs:
[build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
tags: [yuria3]
script:
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4

- lz4 -d som-ast-jit.lz4 som-ast-jit
- lz4 -d som-ast-interp.lz4 som-ast-interp
- lz4 -d som-bc-jit.lz4 som-bc-jit
Expand All @@ -185,6 +189,8 @@ benchmark-y3:

report-completion:
stage: benchmark-completion
needs:
[benchmark-y1, benchmark-y2, benchmark-y3, build:aarch64-test-and-rebench]
tags: [yuria]
script:
- rebench --experiment="CI ID $CI_PIPELINE_ID" --report-completion rebench.conf

0 comments on commit 22c8d7f

Please sign in to comment.