-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (41 loc) · 906 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
pull_request_target:
types:
- opened
- synchronize
- reopened
jobs:
build:
strategy:
fail-fast: false
matrix:
erlang:
- 24.2
# - 25
# - 26
# - 27
runs-on: ubuntu-latest
container:
image: erlang:${{ matrix.erlang }}
steps:
- name: Setup SSH
run: |
set -ex
mkdir -p -m 700 /root/.ssh
echo "Host github.com" > /root/.ssh/config
echo " IdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
chmod 600 /root/.ssh/known_hosts
- uses: actions/checkout@v3
- name: Run tests
run: make test
env:
DEBUG: 1