Merge pull request #753 from apache/feature/215-stop-launcher-by-signal #394
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: Celix development containers | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' # Weekly on Sunday at 00:00 UTC | |
jobs: | |
container-build-ubuntu: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout source code | |
uses: actions/[email protected] | |
- name: Build container image | |
run: | | |
cd $GITHUB_WORKSPACE/container/ | |
./build-ubuntu-container.sh | |
- name: Build Celix using container image | |
run: | | |
cd $GITHUB_WORKSPACE/container/ | |
./run-ubuntu-container.sh "mkdir -p build && cd build && ../container/support-scripts/build-all.sh && make -j" | |
- name: Run Celix tests using container image | |
run: | | |
cd $GITHUB_WORKSPACE/container/ | |
./run-ubuntu-container.sh "cd build && ctest --output-on-failure" | |
container-build-gitpod: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout source code | |
uses: actions/[email protected] | |
- name: Build container image | |
run: | | |
cd $GITHUB_WORKSPACE/container/ | |
docker build -t apache/celix-dev:gitpod-latest -f Containerfile.gitpod . |