File: cross-platform.yml

package info (click to toggle)
scitokens-cpp 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 832 kB
  • sloc: cpp: 7,897; ansic: 596; makefile: 14
file content (33 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (3)
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 }}