https://github.com/ispc/install-ispc-action
Github Action to install ISPC compiler
https://github.com/ispc/install-ispc-action
Last synced: 8 months ago
JSON representation
Github Action to install ISPC compiler
- Host: GitHub
- URL: https://github.com/ispc/install-ispc-action
- Owner: ispc
- License: apache-2.0
- Created: 2024-02-20T23:31:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T10:23:12.000Z (9 months ago)
- Last Synced: 2025-04-05T00:41:14.393Z (9 months ago)
- Language: JavaScript
- Size: 270 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://github.com/ispc/install-ispc-action/actions/workflows/build.yml)
# Install ISPC GitHub Action
Github Action to install ISPC compiler.
## Input Variables
- `version`: Release version of `ispc` to install (optional).
- `platform`: Platform to download release of `ispc` for (optional); one of
`linux`, `windows` or `macOS`.
- `architecture`: Architecture to download release of `ispc` for (optional).
## Examples
### Quickstart
Single platform installation of latest ISPC release:
```yaml
on: push
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- name: install ISPC
uses: ispc/install-ispc-action@main
```
To install specific version of ISPC, provide the `version` variable:
```yaml
on: push
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- name: install ISPC
uses: ispc/install-ispc-action@main
with:
version: 1.22.0
```
### Platform Build Matrix
To install ISPC across platforms, add the `platform` variable to your build matrix:
```yaml
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
platform: linux
- os: windows-latest
platform: windows
- os: macos-latest
platform: macOS
runs-on: ${{ matrix.os }}
name: build
steps:
- name: install ISPC
uses: ispc/install-ispc-action@main
with:
platform: ${{ matrix.platform }}
```