Skip to content

Rework action inner workings (and move to v2) #46

Rework action inner workings (and move to v2)

Rework action inner workings (and move to v2) #46

Workflow file for this run

# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
version:
- 15
runs-on: "${{ matrix.os }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install LLVM and Clang
uses: ./
with:
version: "${{ matrix.version }}"
env: true
- name: Test (Ubuntu / macOS)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: |
echo $CC
echo $CXX
$CC --version
$CXX --version
- name: Test (Windows)
if: matrix.os == 'windows-latest'
run: |
echo $env:CC
echo $env:CXX
clang --version
clang++ --version