[kernels] --vec thread count causes oob access #946
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 DAPHNE | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
container: daphneeu/github-action:latest | |
env: | |
# fix usage of tput in build script: | |
TERM: dumb | |
DEBIAN_FRONTEND: noninteractive | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Fix working dir permissions | |
run: chown root:root . | |
# - name: Cache 3rd party dependency build | |
# id: cache-deps | |
# uses: actions/cache@v3 | |
# env: | |
# cache-name: cache-deps | |
# with: | |
# path: ./thirdparty | |
# key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('build.sh') }} | |
# restore-keys: | | |
# ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('build.sh') }} | |
# - if: ${{ steps.cache-deps.outputs.cache-hit == 'true' }} | |
# name: Print cache hit result | |
# continue-on-error: true | |
# run: echo "------------ Using cached build dependencies ------------" | |
- name: Building | |
run: ./build.sh --no-fancy --no-deps --installPrefix /usr/local --target all | ts | |
shell: bash | |
- name: Testing | |
run: ./test.sh --no-build | |
- name: "List generated files" | |
run: | | |
ls -la bin | |
ls -la lib | |
- name: "Run a simple daph script" | |
run: bin/daphne scripts/examples/hello-world.daph | |
- name: 'Upload Artifact' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: daphne | |
path: | | |
bin/ | |
lib/ |