Merge branch 'dev' into bugfix/2676_NMNE_var_access

This commit is contained in:
Nick Todd
2024-07-19 08:57:12 +01:00
2 changed files with 11 additions and 9 deletions

View File

@@ -19,13 +19,18 @@ jobs:
- job: PrimAITE_Benchmark - job: PrimAITE_Benchmark
timeoutInMinutes: 360 # 6-hour maximum timeoutInMinutes: 360 # 6-hour maximum
pool: pool:
vmImage: ubuntu-latest name: 'Imaginary Yak Pool'
workspace: workspace:
clean: all clean: all
steps: steps:
- checkout: self - checkout: self
persistCredentials: true persistCredentials: true
- script: |
python3.10 -m venv venv
displayName: 'Create venv'
- script: | - script: |
VERSION=$(cat src/primaite/VERSION | tr -d '\n') VERSION=$(cat src/primaite/VERSION | tr -d '\n')
if [[ "$(Build.SourceBranch)" == "refs/heads/dev" ]]; then if [[ "$(Build.SourceBranch)" == "refs/heads/dev" ]]; then
@@ -41,21 +46,18 @@ jobs:
echo "##vso[task.setvariable variable=MAJOR_VERSION]$MAJOR_VERSION" echo "##vso[task.setvariable variable=MAJOR_VERSION]$MAJOR_VERSION"
displayName: 'Set Version Variables' displayName: 'Set Version Variables'
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
addToPath: true
- script: | - script: |
python -m pip install --upgrade pip source venv/bin/activate
pip install --upgrade pip
pip install -e .[dev,rl] pip install -e .[dev,rl]
primaite setup primaite setup
displayName: 'Install Dependencies' displayName: 'Install Dependencies'
- script: | - script: |
set -e set -e
source venv/bin/activate
cd benchmark cd benchmark
python3 primaite_benchmark.py python primaite_benchmark.py
cd .. cd ..
displayName: 'Run Benchmarking Script' displayName: 'Run Benchmarking Script'

View File

@@ -1 +1 @@
3.1.0 3.3.0-dev0