Skip to content

Setup CD pipeline for rawrassembly #5

Setup CD pipeline for rawrassembly

Setup CD pipeline for rawrassembly #5

name: CD RawrrAssembly
on:
# TODO important remove before actually merging
pull_request:
branches: [ devel ]
workflow_dispatch:
env:
DOTNET_DOCKER: mcr.microsoft.com/dotnet/sdk:8.0
jobs:
build:
name: Build Assembly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pull image
run: docker pull $DOTNET_DOCKER
- name: Build
run: cd inst/rawrrassembly && docker run --rm -v $PWD:/app -w /app $DOTNET_DOCKER /app/build.sh /app /app/out
- name: Publish results
uses: actions/upload-artifact@v4
with:
name: rawrr
path: inst/rawrrassembly/out
verify-linux:
name: Verify on Linux
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Download results
uses: actions/download-artifact@v4
with:
name: rawrr
- name: List result
run: tree
- name: Execute on test file
run: ./rawrr-linux-x64 ./inst/extdata/sample.raw index