aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/unix-ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/unix-ci.yaml')
-rw-r--r--.github/workflows/unix-ci.yaml32
1 files changed, 17 insertions, 15 deletions
diff --git a/.github/workflows/unix-ci.yaml b/.github/workflows/unix-ci.yaml
index 5e2de38..77c6dfd 100644
--- a/.github/workflows/unix-ci.yaml
+++ b/.github/workflows/unix-ci.yaml
@@ -22,6 +22,8 @@ on:
env:
CI_ERLANG_MK: 1
AUTO_CI_MASTER: weekly
+ COWBOY_QUICER: ${{ vars.COWBOY_QUICER || 0 }}
+ GUN_QUICER: ${{ vars.GUN_QUICER || 0 }}
jobs:
@@ -31,19 +33,18 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Manage CI cache
id: cache
- uses: actions/[email protected]
+ uses: actions/cache@v4
with:
path: |
~/erlang/
- ~/.kerl/
key: ${{ runner.os }}-${{ runner.arch }}-Erlang-${{ inputs.erlang }}
- name: Run ci-prepare
- if: steps.cache.outputs.cache-hit != 'true' || inputs.erlang == 'master'
+ if: steps.cache.outputs.cache-hit != 'true'
run: make -k ci-prepare CI_OTP=${{ inputs.erlang }}
test:
@@ -53,31 +54,33 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Restore CI cache
- uses: actions/cache/[email protected]
+ uses: actions/cache/restore@v4
with:
path: |
~/erlang/
- ~/.kerl/
key: ${{ runner.os }}-${{ runner.arch }}-Erlang-${{ inputs.erlang }}
- - name: Install required software
+ - name: Run tests (macOS)
if: runner.os == 'macOS'
- run: brew install coreutils
+ run: >
+ brew install coreutils make &&
+ gmake -k ci-${{ inputs.erlang }}
- - name: Run tests
+ - name: Run tests (Unix)
+ if: runner.os != 'macOS'
run: make -k ci-${{ inputs.erlang }}
- name: Upload logs
- uses: actions/[email protected]
+ uses: actions/upload-artifact@v4
if: always()
with:
name: Common Test logs (${{ inputs.erlang }} ${{ runner.os }})
path: |
logs/
- !logs/**/log_private
+# !logs/**/log_private
dialyze:
name: Run Dialyzer using ${{ inputs.erlang }}
@@ -88,14 +91,13 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/[email protected]
+ uses: actions/checkout@v4
- name: Restore CI cache
- uses: actions/cache/[email protected]
+ uses: actions/cache/restore@v4
with:
path: |
~/erlang/
- ~/.kerl/
key: ${{ runner.os }}-${{ runner.arch }}-Erlang-${{ inputs.latest }}
- name: Run Dialyzer