Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed Jan 20, 2024
0 parents commit 22a600d
Show file tree
Hide file tree
Showing 62 changed files with 1,329 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ### > generated by mulle-sde (extensions/mulle-sde/sde/init)
# Tweak GitHub language statistics

# .inc is generally C

*.inc linguist-language=C

# remove boring files
.mulle/** linguist-generated
.idea/** linguist-generated
.vscode/** linguist-generated
cmake/** linguist-generated

# ### < generated by mulle-sde (extensions/mulle-sde/sde/init)

17 changes: 17 additions & 0 deletions .github/workflows/dockerfile-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: DockerfileCI

on: [push,workflow_dispatch]


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
if: ${{ ! env.ACT }}

- name: Build Docker image
if: ${{ ! env.ACT }}
run: docker build .

59 changes: 59 additions & 0 deletions .github/workflows/mulle-sde-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: CI

on: [push,workflow_dispatch]

env:
BUILD_TYPE: release
OTHER_PROJECTS: "mulle-core/mulle-core-developer;
mulle-c/mulle-c-developer;"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-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@v3

- uses: mulle-sde/github-ci@v1

- name: List extensions
run: |
mulle-sde -DMULLE_SDE_EXTENSION_BASE_PATH="${PWD}/src" extension show
- name: mulle-core Library
run: |
mulle-sde -DMULLE_SDE_EXTENSION_BASE_PATH="${PWD}/src" init -d lib -m mulle-core/c-developer library &&
cd lib &&
mulle-sde hostname &&
mulle-sde environment &&
echo "Adding environment-host-ci-prerelease file from MulleObjC/test" >&2 &&
curl -L --output .mulle/etc/env/environment-host-ci-prerelease.sh "https://raw.githubusercontent.com/mulle-core/MulleObjC/prerelease/test/.mulle/etc/env/environment-host-ci-prerelease.sh" >&2 &&
mulle-sde craft
- name: mulle-core Executable
run: |
mulle-sde -DMULLE_SDE_EXTENSION_BASE_PATH="${PWD}/src" extension show &&
mulle-sde -DMULLE_SDE_EXTENSION_BASE_PATH="${PWD}/src" init -d exe -m mulle-core/c-developer executable &&
cd exe &&
echo "Adding environment-host-ci-prerelease file from MulleObjC/test" >&2 &&
curl -L --output .mulle/etc/env/environment-host-ci-prerelease.sh "https://raw.githubusercontent.com/mulle-core/MulleObjC/prerelease/test/.mulle/etc/env/environment-host-ci-prerelease.sh" >&2 &&
mulle-sde craft --release &&
[ -x "./kitchen/Release/exe" -o "./kitchen/exe" ] &&
( [ ! -x "./kitchen/Release/exe" ] || "./kitchen/Release/exe" ) &&
( [ ! -x "./kitchen/exe" ] || "./kitchen/exe" )
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.DS_Store
._.DS_Store

publisher-info.sh
VENDOR_NAME/
# ### > generated by mulle-sde (extensions/mulle-sde/sde/init)

# generally /var directories are not interesting
var/

environment-host-*.sh
environment-user-*.sh

# stash is generally boring
stash/

# build stuff is boring too
build/
kitchen/
dependency/
addiction/
*.tmp/
tmp.*/

# ### < generated by mulle-sde (extensions/mulle-sde/sde/init)

mulle-core-developer.sublime-workspace
.mulle-make-build-dir
version.old
.gdb_history
.ackrc
wilted/
mulle-template-composer-*
mulle-markdown-preview-*.html
build-*
coverage*.html
*.gcda
*.gcno
cola/wilted/
3 changes: 3 additions & 0 deletions .mulle/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .mulle/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .mulle/etc/env/auxscope

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions .mulle/etc/env/environment-project.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .mulle/etc/env/optionaltool.darwin

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .mulle/etc/env/tool

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .mulle/etc/env/tool.windows

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .mulle/etc/project/formula-info.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .mulle/etc/project/generate-formula.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .mulle/etc/project/post-release.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions .mulle/etc/project/version-info.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .mulle/share/env/auxscope

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .mulle/share/env/environment-extension.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .mulle/share/env/environment-plugin-os-darwin.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions .mulle/share/env/environment-plugin.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22a600d

Please sign in to comment.