-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 938 Bytes
/
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
name: CI
on:
pull_request:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
generate-config:
runs-on: ubuntu-latest
outputs:
BIRTH_GITHUB_TARGETS: ${{ steps.generate-config.outputs.BIRTH_GITHUB_TARGETS }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Generate config
id: GENERATE-CONFIG
uses: birth-software/github-config@v2
test:
needs: generate-config
strategy:
matrix:
os: ${{ fromJSON(needs.generate-config.outputs.BIRTH_GITHUB_TARGETS) }}
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Own action
uses: ./
- name: Check
shell: bash
run: |
set -ex
echo $BIRTH_NATIVE_OS_STRING
echo $BIRTH_NATIVE_ARCH_STRING
echo $BIRTH_ARCH
echo $BIRTH_OS