Skip to content

Commit

Permalink
Initial GitHub Actions test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
essen committed Oct 1, 2024
1 parent 5424b27 commit 21492db
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Check Erlang.mk

on:
push:
branches:
- master
pull_request:
schedule:
## Every Monday at 4am.
- cron: 0 4 * * 1

jobs:
check:
strategy:
fail-fast: false
matrix:
erlang:
- '27'
os:
- macos-latest
- ubuntu-latest
- windows-latest
extra: ['', 'LEGACY=1']
runs-on: ${{ matrix.runner }}

steps:

- name: Checkout repository
uses: actions/checkout@v4

- name: Install Erlang/OTP
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
version-type: loose

- name: Run tests
run: ${{ matrix.os == 'macos-latest' && 'gmake' || 'make' }} check -j 8 -k ${{ matrix.extra }}

0 comments on commit 21492db

Please sign in to comment.