-
Notifications
You must be signed in to change notification settings - Fork 382
46 lines (46 loc) · 1.11 KB
/
ci.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
# this workflow will run ci
name: ci
on:
push:
branches:
- alpha
- beta
- master
workflow_dispatch:
env:
zzzz1234: 1
jobs:
job1:
strategy:
matrix:
architecture:
# - arm64
- x64
# - x86
os:
- macos-latest
- ubuntu-latest
# - windows-latest
# base - .github/workflows/ci.yml - beg
env:
CI_MATRIX_NAME: >
${{ matrix.architecture }}
${{ matrix.os }}
CI_WORKFLOW_NAME: >
${{ github.workflow }}
- ${{ github.event_name }}
- ${{ github.event.inputs.workflow_dispatch_name }}
- ${{ github.ref_name }}
name: >
${{ matrix.architecture }}
${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- run: echo "$(date -u +"%Y-%m-%d %TZ") - ${{ env.CI_WORKFLOW_NAME }}" # "
# disable autocrlf in windows
- run: git config --global core.autocrlf false
# https://github.com/actions/checkout
- uses: actions/checkout@v3
# run nodejs coverages and tests
- run: sh ./ci.sh
# base - .github/workflows/ci.yml - end