Skip to content

Commit

Permalink
Merge pull request #4702 from MasterDuke17/add_a_CI_job_that_runs_a_s…
Browse files Browse the repository at this point in the history
…pectest_instead_of_rakudo_tests
  • Loading branch information
MasterDuke17 committed Jan 5, 2022
2 parents 9d58b5d + 7ef7b6e commit d12a00b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ stages:
NQP_OPTIONS: '--backends=moar --relocatable'
MOAR_OPTIONS: '--relocatable'

Lin_MVM_spec:
IMAGE_NAME: 'ubuntu-18.04'
SPECTEST_ONLY: 'yes'
RAKUDO_OPTIONS: ''
NQP_OPTIONS: '--backends=moar'
MOAR_OPTIONS: ''

pool:
vmImage: $(IMAGE_NAME)
workspace:
Expand Down Expand Up @@ -200,7 +207,7 @@ stages:
# Test Rakudo
- script: prove -e ../install/bin/perl6 -vlr t
workingDirectory: '$(Pipeline.Workspace)/rakudo'
condition: and(succeeded(), ne( variables['RELOCATABLE'], 'yes' ), ne( variables['BACKEND'], 'JVM'), ne( variables['Agent.OS'], 'Windows_NT' ) )
condition: and(succeeded(), ne( variables['RELOCATABLE'], 'yes' ), ne( variables['BACKEND'], 'JVM'), ne( variables['Agent.OS'], 'Windows_NT' ), ne( variables['SPECTEST_ONLY'], 'yes' ) )
displayName: Test Rakudo
- pwsh: |
${{ variables.PWSH_DEV }}
Expand All @@ -219,6 +226,12 @@ stages:
condition: and(succeeded(), eq( variables['RELOCATABLE'], 'yes' ), ne( variables['BACKEND'], 'JVM'), eq( variables['Agent.OS'], 'Windows_NT' ) )
displayName: Test Rakudo (relocated, Windows)
# Run spectest
- script: make TEST_JOBS=2 m-spectest
workingDirectory: '$(Pipeline.Workspace)/rakudo'
condition: and(succeeded(), ne( variables['RELOCATABLE'], 'yes' ), ne( variables['BACKEND'], 'JVM'), ne( variables['Agent.OS'], 'Windows_NT' ), eq( variables['SPECTEST_ONLY'], 'yes' ) )
displayName: Run spectest

- publish: $(Pipeline.Workspace)/install-moved
condition: and(succeeded(), eq( variables['RELOCATABLE'], 'yes' ), ne( variables['BACKEND'], 'JVM') )
displayName: Publish build artifact
Expand Down

0 comments on commit d12a00b

Please sign in to comment.