add depends on task #361
Workflow file for this run
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: Feature Build ποΈ | |
on: | |
push: | |
branches-ignore: | |
- main | |
permissions: | |
packages: write | |
jobs: | |
compile: | |
name: Compile π οΈ | |
strategy: | |
matrix: | |
runner: [ 'ubuntu-latest', 'macos-latest' ] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: dart-lang/setup-dart@v1 | |
- run: make build | |
build: | |
name: Builder π· | |
runs-on: ubuntu-latest | |
outputs: | |
IMAGE_TAG: ${{ steps.tag.outputs.TAG || 'builder' }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Changes π | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
source: | |
- Builder.Dockerfile | |
- name: Image Tag π·οΈ | |
if: ${{ steps.changes.outputs.source == 'true' }} | |
id: tag | |
run: echo "TAG=${{ github.sha}}" >> $GITHUB_OUTPUT | |
- name: Build Image π³ | |
uses: ./.github/actions/build-and-push-image | |
if: ${{ steps.tag.outcome == 'success' }} | |
with: | |
image_tag: ${{ steps.tag.outputs.TAG }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
docs: | |
name: Documentation π | |
runs-on: ubuntu-latest | |
needs: build | |
container: | |
image: ghcr.io/jeffmur/fhel:${{ needs.build.outputs.IMAGE_TAG }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: make docs | |
cpp-tests: | |
name: C++ Test βοΈ | |
runs-on: ubuntu-latest | |
needs: build | |
container: | |
image: ghcr.io/jeffmur/fhel:${{ needs.build.outputs.IMAGE_TAG }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: make ctest-ci | |
dart-tests: | |
name: Dart Test π― | |
runs-on: ubuntu-latest | |
needs: build | |
container: | |
image: ghcr.io/jeffmur/fhel:${{ needs.build.outputs.IMAGE_TAG }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: make dtest-ci | |
android-apk: | |
name: Android APK π€ | |
runs-on: ubuntu-latest | |
needs: build | |
container: | |
image: ghcr.io/jeffmur/fhel:${{ needs.build.outputs.IMAGE_TAG }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- run: make apk-ci |