From 323d3e3a341f20c68c6581de834ec4be5295adb8 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 16 Dec 2023 22:27:36 +0100 Subject: [PATCH] Revert "azure-pipelines.yml: temporary disable all non-Linux builds" This reverts commit a230a79ca35ea24c9553434943c09c8cd8503fe6. --- azure-pipelines.yml | 111 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index af36a8ef39..10af4e2ca2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -52,3 +52,114 @@ jobs: GHCR_TOKEN: $(GHCR_TOKEN) displayName: 'Push release to GHCR' # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) + +- job: macOS + pool: + vmImage: 'macOS-11' + timeoutInMinutes: 90 + steps: + - checkout: self + submodules: true + - script: | + brew install boost cmake gmp mpfr libmpc bison + displayName: 'Brew prerequisites' + - script: | + mkdir build + cd build + ../build-toolchain.bash + displayName: Build + - script: | + cd build + 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 + echo "executor-path=`pwd`/Executor2000-0.1.0-Darwin/bin/executor-headless" > ~/.LaunchAPPL.cfg + echo "emulator=executor" >> ~/.LaunchAPPL.cfg + ctest --no-compress-output -T test -E Carbon || true + displayName: Run Tests using Executor 2000 + - task: PublishTestResults@2 + inputs: + testResultsFormat: 'CTest' + testResultsFiles: build/Testing/**/*.xml + buildPlatform: 'x86_64-macos' + +- job: NixLinux + strategy: + matrix: + M68K: + TARGET: m68k + PowerPC: + TARGET: powerpc + Carbon: + TARGET: carbon + maxParallel: 2 + pool: + vmImage: 'ubuntu-20.04' + steps: + - checkout: self + submodules: true + - script: | + docker run -i --name nix -v`pwd`:/src nixos/nix:2.18.1 <