re-enable regular build
This commit is contained in:
parent
3516d8ca44
commit
8063e142d7
|
@ -3,84 +3,84 @@ trigger:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
#- job: Linux
|
- job: Linux
|
||||||
# pool:
|
pool:
|
||||||
# vmImage: 'ubuntu-latest'
|
vmImage: 'ubuntu-latest'
|
||||||
# timeoutInMinutes: 90
|
timeoutInMinutes: 90
|
||||||
# variables:
|
variables:
|
||||||
# - group: Tokens
|
- group: Tokens
|
||||||
# steps:
|
steps:
|
||||||
# - checkout: self
|
- checkout: self
|
||||||
# submodules: true
|
submodules: true
|
||||||
#
|
|
||||||
# - task: Docker@2
|
- task: Docker@2
|
||||||
# inputs:
|
inputs:
|
||||||
# command: build
|
command: build
|
||||||
# repository: ghcr.io/autc04/retro68-build
|
repository: ghcr.io/autc04/retro68-build
|
||||||
# tags: latest
|
tags: latest
|
||||||
# arguments: --target build
|
arguments: --target build
|
||||||
# displayName: 'Build'
|
displayName: 'Build'
|
||||||
# - task: Docker@2
|
- task: Docker@2
|
||||||
# inputs:
|
inputs:
|
||||||
# command: build
|
command: build
|
||||||
# repository: ghcr.io/autc04/retro68
|
repository: ghcr.io/autc04/retro68
|
||||||
# tags: latest
|
tags: latest
|
||||||
# arguments: --target release
|
arguments: --target release
|
||||||
# displayName: 'Build release'
|
displayName: 'Build release'
|
||||||
# - script: |
|
- script: |
|
||||||
# docker run --name retro68-build --rm -i -d ghcr.io/autc04/retro68-build:latest
|
docker run --name retro68-build --rm -i -d ghcr.io/autc04/retro68-build:latest
|
||||||
# docker exec -i retro68-build /bin/bash <<"EOF"
|
docker exec -i retro68-build /bin/bash <<"EOF"
|
||||||
# cd /Retro68-build
|
cd /Retro68-build
|
||||||
# curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
|
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Linux.tar.bz2
|
||||||
# tar xfvj Executor2000-0.1.0-Linux.tar.bz2 Executor2000-0.1.0-Linux/bin/executor-headless
|
tar xfvj Executor2000-0.1.0-Linux.tar.bz2 Executor2000-0.1.0-Linux/bin/executor-headless
|
||||||
# echo "executor-path=`pwd`/Executor2000-0.1.0-Linux/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
echo "executor-path=`pwd`/Executor2000-0.1.0-Linux/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
||||||
# echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
||||||
# ctest --no-compress-output -T test -E Carbon || true
|
ctest --no-compress-output -T test -E Carbon || true
|
||||||
# EOF
|
EOF
|
||||||
# mkdir build && docker cp retro68-build:/Retro68-build/Testing build
|
mkdir build && docker cp retro68-build:/Retro68-build/Testing build
|
||||||
# docker stop retro68-build
|
docker stop retro68-build
|
||||||
# displayName: Run Tests using Executor 2000
|
displayName: Run Tests using Executor 2000
|
||||||
# - task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
# inputs:
|
inputs:
|
||||||
# testResultsFormat: 'CTest'
|
testResultsFormat: 'CTest'
|
||||||
# testResultsFiles: build/Testing/**/*.xml
|
testResultsFiles: build/Testing/**/*.xml
|
||||||
# buildPlatform: 'x86_64-linux'
|
buildPlatform: 'x86_64-linux'
|
||||||
# - script: |
|
- script: |
|
||||||
# docker login ghcr.io/autc04 -u autc04 -p $GHCR_TOKEN
|
docker login ghcr.io/autc04 -u autc04 -p $GHCR_TOKEN
|
||||||
# docker push ghcr.io/autc04/retro68
|
docker push ghcr.io/autc04/retro68
|
||||||
# env:
|
env:
|
||||||
# GHCR_TOKEN: $(GHCR_TOKEN)
|
GHCR_TOKEN: $(GHCR_TOKEN)
|
||||||
# displayName: 'Push release to GHCR'
|
displayName: 'Push release to GHCR'
|
||||||
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||||
#
|
|
||||||
#- job: macOS
|
- job: macOS
|
||||||
# pool:
|
pool:
|
||||||
# vmImage: 'macOS-11'
|
vmImage: 'macOS-11'
|
||||||
# timeoutInMinutes: 90
|
timeoutInMinutes: 90
|
||||||
# steps:
|
steps:
|
||||||
# - checkout: self
|
- checkout: self
|
||||||
# submodules: true
|
submodules: true
|
||||||
# - script: |
|
- script: |
|
||||||
# brew install boost cmake gmp mpfr libmpc bison
|
brew install boost cmake gmp mpfr libmpc bison
|
||||||
# displayName: 'Brew prerequisites'
|
displayName: 'Brew prerequisites'
|
||||||
# - script: |
|
- script: |
|
||||||
# mkdir build
|
mkdir build
|
||||||
# cd build
|
cd build
|
||||||
# ../build-toolchain.bash
|
../build-toolchain.bash
|
||||||
# displayName: Build
|
displayName: Build
|
||||||
# - script: |
|
- script: |
|
||||||
# cd build
|
cd build
|
||||||
# curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Darwin.tar.bz2
|
curl -L -O https://github.com/autc04/executor/releases/download/v0.1.0/Executor2000-0.1.0-Darwin.tar.bz2
|
||||||
# tar xfvj Executor2000-0.1.0-Darwin.tar.bz2 Executor2000-0.1.0-Darwin/bin/executor-headless
|
tar xfvj Executor2000-0.1.0-Darwin.tar.bz2 Executor2000-0.1.0-Darwin/bin/executor-headless
|
||||||
# echo "executor-path=`pwd`/Executor2000-0.1.0-Darwin/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
echo "executor-path=`pwd`/Executor2000-0.1.0-Darwin/bin/executor-headless" > ~/.LaunchAPPL.cfg
|
||||||
# echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
echo "emulator=executor" >> ~/.LaunchAPPL.cfg
|
||||||
# ctest --no-compress-output -T test -E Carbon || true
|
ctest --no-compress-output -T test -E Carbon || true
|
||||||
# displayName: Run Tests using Executor 2000
|
displayName: Run Tests using Executor 2000
|
||||||
# - task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
# inputs:
|
inputs:
|
||||||
# testResultsFormat: 'CTest'
|
testResultsFormat: 'CTest'
|
||||||
# testResultsFiles: build/Testing/**/*.xml
|
testResultsFiles: build/Testing/**/*.xml
|
||||||
# buildPlatform: 'x86_64-macos'
|
buildPlatform: 'x86_64-macos'
|
||||||
|
|
||||||
- job: NixLinux
|
- job: NixLinux
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue