diff --git a/.ci/build-plt-cache.sh b/.ci/build-plt-cache.sh deleted file mode 100755 index 53842593..00000000 --- a/.ci/build-plt-cache.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# This script builds/restores PLT cache files to/from a cache at ~/.pltcache -set -ex - -# "Mix will default to the :dev environment" -MIX_ENV="${MIX_ENV:-dev}" - -mix compile - -# Create the PLT cache directory, if it doesn't already exist -mkdir -p "$HOME"/.pltcache -# Copy the PLT files into the _build directory, if they exist -cp "$HOME"/.pltcache/*-"$MIX_ENV".plt _build/"$MIX_ENV"/ || true - -# Build the PLT cache (uses the existing one if present) -mix dialyzer --plt - -# Copy the PLT files into the cache so they can be used next time -cp _build/"$MIX_ENV"/*-"$MIX_ENV".plt "$HOME"/.pltcache/ diff --git a/.github/workflows/cron_ci.yml b/.github/workflows/cron_ci.yml deleted file mode 100644 index 6a0d0d1a..00000000 --- a/.github/workflows/cron_ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Cron CI - -on: - schedule: - - cron: '0 0 * * 0' - -jobs: - interop-tests: - runs-on: ubuntu-latest - name: Interop tests - container: - image: elixir:1.9 - steps: - - uses: actions/checkout@v2 - - name: Install Dependencies - run: | - mix local.rebar --force - mix local.hex --force - mix deps.get - working-directory: ./interop - - name: Run Cron CI - run: make ci-cron diff --git a/Makefile b/Makefile index efc78c46..33479e25 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,4 @@ test-all: mix test cd interop && mix run script/run.exs -# This is heavy -ci-cron: - cd interop && mix deps.get && mix run script/run.exs --rounds 1000 --concurrency 30 && cd - - mix deps.get && bash .ci/build-plt-cache.sh && mix dialyzer - - .PHONY: test release test-prepare test-all ci-cron