renn0xtek9 submitting PR for #121
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: Continuous Integration | |
run-name: ${{ github.actor }} submitting PR for ${{ github.head_ref }} | |
on: [push] | |
jobs: | |
build-devcontainer: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Create empty ssh dir | |
run: mkdir -p ~/.ssh | |
- name: Create dummy bash_aliases | |
run: touch ~/.bash_aliases | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Build the devcontainer | |
uses: devcontainers/ci@v0.3 | |
with: | |
imageName: ci-image | |
push: never | |
runCmd: echo Success | |
- name: Build | |
uses: kohlerdominik/docker-run-action@v1 | |
with: | |
options: | | |
-v ${{ github.workspace }}:/workspace | |
--name ci-container | |
image: ci-image:latest | |
run: /workspace/scripts/configure.sh && /workspace/scripts/build.sh |