Create codeql.yml #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- release | |
pull_request: | |
workflow_dispatch: | |
env: | |
BUILD_TYPE: release | |
OTHER_PROJECTS: "mulle-c/mulle-c-developer;" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest] # 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@v3 | |
- uses: mulle-sde/github-ci@v1 | |
- 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 |