Skip to content

documentation on staging directory info #29

documentation on staging directory info

documentation on staging directory info #29

Workflow file for this run

name: Elixir CI - MacOS
on: push
jobs:
build:
runs-on: macos-latest
name: MacOS-latest-latest
steps:
- uses: actions/checkout@v2
- name: update-brew
run: brew update
- name: install-erlang
run: brew install erlang
- name: install-elixir
run: brew install elixir
- name: activate hex
run: yes | mix local.hex
- name: get elixir version
id: elixir-version
run: elixir --version | tail -n 1 | awk '{ print $2 }'
- uses: actions/cache@v1
id: deps-cache
with:
path: deps
key: ${{ runner.os }}-mix-${{ steps.elixir-version.outputs.stdout }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Install dependencies
run: mix deps.get
- uses: actions/cache@v1
id: build-cache
with:
path: _build
key: ${{ runner.os }}-build-${{ steps.elixir-version.outputs.stdout }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Compile base
run: mix compile
- name: Get Zig version
id: zig-version
run: mix eval "IO.puts(Zig.version())"
- name: Get Zig
run: mix zig.get
- name: Run Tests
env:
RUNNING_CI: "true"
CI_LOG_LEVEL: warning
run: mix test --exclude no_ci