-
-
Notifications
You must be signed in to change notification settings - Fork 303
33 lines (27 loc) · 745 Bytes
/
cross-platform.yml
File metadata and controls
33 lines (27 loc) · 745 Bytes
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
name: Cross-Platform CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: configure
run: cmake --preset examples
- name: build
run: cmake --build --preset examples
- name: test
run: |
cmake --build --preset examples --target rsa-create-run
cmake --build --preset examples --target rsa-verify-run
- if: github.event_name == 'push' && always()
uses: ./.github/actions/badge
with:
category: cross-platform
label: ${{ matrix.os }}