Skip to content

test ci workflow

test ci workflow #37

Workflow file for this run

name: Build VENTUS
env:
POCL: pocl
OCL_ICD: ocl-icd
RODINIA: gpu-rodinia
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 2 * * *' # Runs at 2am everyday
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout CI_repo
uses: actions/checkout@v4
path: test_rep_ci

Check failure on line 21 in .github/workflows/demo_1.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/demo_1.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- name: Install Other needed packages # maybe install llvm release is a better choice
run: |
sudo apt-get install -y \
device-tree-compiler \
bsdmainutils \
ccache
- name: List files in workspace
run: ls ${{ github.workspace }}
- name: Create a new file in workspace
run: echo "Hello World" > ${{ github.workspace }}/newfile.txt
- name: checkout pocl
uses: actions/checkout@v4
with:
repository: THU-DSP-LAB/pocl
path: $POCL
- name: checkout ocl-icd
uses: actions/checkout@v4
with:
repository: OCL-dev/ocl-icd
path: $OCL_ICD
- name: checkout rodinia
uses: actions/checkout@v4
with:
repository: THU-DSP-LAB/gpu-rodinia
path: $RODINIA
- name: download data
run: |
wget -P ${{github.workspace}}/$RODINIA -c https://www.dropbox.com/s/cc6cozpboht3mtu/rodinia-3.1-data.tar.gz
tar -zxvf ${{github.workspace}}/$RODINIA/rodinia-3.1-data.tar.gz -C ${{github.workspace}}/$RODINIA
mv ${{github.workspace}}/$RODINIA/rodinia-data/* ${{github.workspace}}/$RODINIA/data/
rm ${{github.workspace}}/$RODINIA/rodinia-3.1-data.tar.gz
rm ${{github.workspace}}/$RODINIA/rodinia-data -rf
- name: test cd repo
run: |
cd $RODINIA
mkdir kl_log
# Later need to add test files and test script for testing
echo "Test files and scripts will be added later"