-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (41 loc) Β· 1.11 KB
/
mulle-sde-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
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
env:
BUILD_TYPE: release
OTHER_PROJECTS: "mulle-objc/mulle-objc-developer;
mulle-c/mulle-c-developer;"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-24.04 ] # macos-latest,
steps:
- name: Set MULLE_HOSTNAME
run: |
name="${GITHUB_REF##*/}"
MULLE_HOSTNAME="${MULLE_HOSTNAME:-ci-${name##*-}}"
echo "MULLE_HOSTNAME=${MULLE_HOSTNAME}" >> $GITHUB_ENV
- name: Add to path
run: echo "$HOME/bin" >> $GITHUB_PATH
- name: Dump Environment
run: env | sort
- uses: actions/checkout@v4
- uses: mulle-sde/github-ci@v2
- uses: mulle-cc/github-ci@v5
- name: Dump Project Environment
run: |
[ ! -d .mulle/etc/env ] || ls -l .mulle/etc/env/environment*.sh
mulle-sde environment
- name: Mulle-SDE Fetch
run: mulle-sde fetch
- name: Mulle-SDE Craft
run: mulle-sde craft --${BUILD_TYPE:-release}
- name: Mulle-SDE Test
run: |
[ ! -d test ] || mulle-sde test