Skip to content

Commit

Permalink
test: create test-cross-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir committed Sep 8, 2024
1 parent e8d23ba commit 4704050
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/test-cross-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: test-cross-platform

on:
push:
branches: [main]

pull_request:
branches: [main]

jobs:
run-clang-format:
strategy:
matrix:
os-version:
- macos-latest
- macos-14
- macos-13
- macos-12
- ubuntu-latest
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04
- windows-latest
- windows-2022
- windows-2019

runs-on: ${{ matrix.os-version }}

steps:
- name: Set up checkout
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Set up node_modules
run: npm ci

- name: Debug GLIBC version
if: runner.os == 'Linux'
run: ldd --version

- name: Build
run: npm run build

- name: Test
run: npx clang-format --version

0 comments on commit 4704050

Please sign in to comment.