From 291558edad33d8c3bfbdfc0b93c0cc146f93a7ff Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 9 Jan 2020 14:10:59 +0100 Subject: [PATCH] Try to run CI on mac --- .github-ci.sh | 4 ---- .gitlab-ci.yml | 12 +++++++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github-ci.sh b/.github-ci.sh index db96820..393bff3 100755 --- a/.github-ci.sh +++ b/.github-ci.sh @@ -11,10 +11,6 @@ export GHCUP_META_DOWNLOAD_URL GHCUP_META_VERSION_URL="file://$(pwd)/.available-versions" export GHCUP_META_VERSION_URL -# dependencies -edo sudo apt-get update -y -edo sudo apt-get install -y libnuma-dev - # install GHCs edo ./ghcup -v install 8.2.2 edo ./ghcup -v install 8.4.3 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 628c7d7..07154a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,10 +8,20 @@ variables: # CI Step ############################################################ -test: +test:linux: image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV" + before_script: + - sudo apt-get update -y && sudo apt-get install -y libnuma-dev script: - ./.github-ci.sh dependencies: [] tags: - x86_64-linux + +test:mac: + script: + - ./.github-ci.sh + dependencies: [] + tags: + - x86_64-darwin +