added capsule programming language #293
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: Build and Release | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "docs/**" | |
- ".github/workflows/update-docs.yml" | |
- "mkdocs.yml" | |
env: | |
CACHE_PATH: ${{ secrets.CACHE_PATH }} | |
VERSION: ${{ github.run_number }} | |
BRANCH: ${{ endsWith(github.ref, 'stable') && 'stable' || (endsWith(github.ref, 'preview') && 'preview' || 'unstable') }} | |
jobs: | |
build: | |
name: Build Image | |
runs-on: self-hosted | |
timeout-minutes: 47000 | |
strategy: | |
matrix: | |
include: | |
- board: x86_64 | |
image: installer.iso | |
# - board: raspberrypi | |
# image: sdcard.img | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
token: ${{ secrets.CI_TOKEN }} | |
submodules: true | |
- name: Build System Image | |
run: make CACHE_PATH=$CACHE_PATH BOARD_NAME=${{matrix.board}} | |
- uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: ${{env.CACHE_PATH}}/${{matrix.board}}/images/${{matrix.image}} | |
asset_name: rlxos-${{env.BRANCH}}-${{matrix.board}}-${{matrix.image}} | |
tag: ${{env.BRANCH}}-continuous | |
overwrite: true | |
body: ${{ github.event.head_commit.message }} |