1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
# Copyright 2025, Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
name: Quick Start Build
permissions: read-all
on:
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ubuntu:
strategy:
matrix:
ubuntu: ['ubuntu-22.04', 'ubuntu-24.04']
runs-on: ${{ matrix.ubuntu }}
env:
ARCHIVE_URL: https://github.com/ispc/ispc.dependencies/releases/download/llvm-20.1-ispc-dev/llvm-20.1.8-ubuntu22.04-Release-x86.arm.wasm.tar.xz
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y git curl cmake xz-utils m4 flex bison python3 libtbb-dev g++-multilib
- name: Build ISPC
run: ./scripts/quick-start-build.py
archlinux:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
env:
ARCHIVE_URL: https://github.com/ispc/ispc.dependencies/releases/download/llvm-20.1-ispc-dev/llvm-20.1.8-ubuntu22.04-Release+Asserts-x86.arm.wasm.tar.xz
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install prerequisites
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm git cmake make gcc-libs glibc lib32-glibc gcc m4 flex bison python onetbb
- name: Build ISPC
run: ./scripts/quick-start-build.py
macos:
runs-on: macos-latest
env:
ARCHIVE_URL: https://github.com/ispc/ispc.dependencies/releases/download/llvm-20.1-ispc-dev/llvm-20.1.8-macos-Release-universal-x86.arm.wasm.tar.xz
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install prerequisites
run: |
brew install bison flex
echo "/opt/homebrew/opt/bison/bin" >> "$GITHUB_PATH"
echo "/opt/homebrew/opt/flex/bin" >> "$GITHUB_PATH"
- name: Build ISPC
run: ./scripts/quick-start-build.py
windows:
runs-on: windows-latest
env:
ARCHIVE_URL: https://github.com/ispc/ispc.dependencies/releases/download/llvm-20.1-ispc-dev/llvm-20.1.8-win.vs2022-Release-x86.arm.wasm.tar.7z
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install prerequisites
run: |
Install-ChocoPackage winflexbison3
Install-ChocoPackage gnuwin32-m4
pip install py7zr
- name: Build ISPC
run: python ./scripts/quick-start-build.py
|