Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #66

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #66

Workflow file for this run

name: Clang
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Solution Files
working-directory: ${{env.GITHUB_WORKSPACE}}
run: premake/premake5 gmake2
- name: Build
run: config=releaseclang_x64 make
- uses: actions/upload-artifact@v4
with:
name: build-clang64
path: builds/bin/hsrans
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v4.1.7
with:
name: build-clang64
- name: Mark as Executable
working-directory: ${{env.GITHUB_WORKSPACE}}
run: chmod +x hsrans
- name: Download Samples
working-directory: ${{env.GITHUB_WORKSPACE}}
run: git clone https://github.com/rainerzufalldererste/rle_samples.git
- name: Test sample0
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample0.bin --test
- name: Test sample0 AVX2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample0.bin --test --max-simd avx2
- name: Test sample0 SSE4.2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample0.bin --test --max-simd sse4.2
- name: Test sample0 No-SIMD
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample0.bin --test --max-simd none
- name: Test sample1 AVX512BW
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample1.bin --test
- name: Test sample1 AVX2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample1.bin --test --max-simd avx2
- name: Test sample1 SSE4.2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample1.bin --test --max-simd sse4.2
- name: Test sample1 No-SIMD
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample1.bin --test --max-simd none
- name: Test sample2 AVX512BW
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample2.bin --test
- name: Test sample2 AVX2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample2.bin --test --max-simd avx2
- name: Test sample2 SSE4.2
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample2.bin --test --max-simd sse4.2
- name: Test sample2 No-SIMD
working-directory: ${{env.GITHUB_WORKSPACE}}
run: ./hsrans rle_samples/sample2.bin --test --max-simd none