Skip to content

Create a basic nightly OCK build and test vector-add using oneAPI. #5

Create a basic nightly OCK build and test vector-add using oneAPI.

Create a basic nightly OCK build and test vector-add using oneAPI. #5

Workflow file for this run

name: OCK Nightly
on:
pull_request:
paths:
- '.github/workflows/create_release.yml'
jobs:
ock_nightly:

Check failure on line 9 in .github/workflows/create_release.yml

View workflow run for this annotation

GitHub Actions / OCK Nightly

Invalid workflow file

The workflow is not valid. .github/workflows/create_release.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
name: OCK Nightly Build Upload
runs-on: ubuntu-22.04
needs: [build riscv M1]
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: riscv-build
path: ock_install.tar.gz
- name: Compute tag
id: tag
run: |
if [ "${{ github.event_name == 'schedule' }}" == "true" ]; then
echo "TAG=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
else
# TODO: Use date of the commit?
echo "TAG=$(date +'%Y-%m-%d')-${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
fi
- name: Upload binaries
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
files:
ock_install.tar.gz
tag_name: nightly-${{ steps.tag.outputs.TAG }}
name: OCK daily ${{ steps.tag.outputs.TAG }}
prerelease: true
body: "Daily build ${{ steps.tag.outputs.TAG }}"
target_commitish: ${{ github.sha }}