changed submodules to sctipt #5
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: rtos-build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
on: [pull_request] | |
jobs: | |
rtos-build-job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
github-server-url: https://github.com/dogusyuksel/rtos_hal_stm32 | |
lfs: true | |
- name: Setup Environment | |
run: | | |
./setup_environment.sh | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Project Docker | |
uses: docker/build-push-action@v5 | |
with: | |
load: true | |
tags: | | |
${{ secrets.DOCKER_REPO }}:master | |
context: . | |
file: docker/Dockerfile | |
pull: true | |
push: false | |
provenance: false | |
- name: rtos bitbake Build Check | |
run: | | |
./docker/run_docker.sh ${{ secrets.DOCKER_REPO }}:master "cd /workspace/build && ./build_all.sh" | |
- name: rtos local Build Check | |
run: | | |
./docker/run_docker.sh ${{ secrets.DOCKER_REPO }}:master "cd /workspace && ./bake.sh base_example clean build" |