File: amalgamation_demos.yml

package info (click to toggle)
simdutf 8.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,524 kB
  • sloc: cpp: 64,498; ansic: 15,347; python: 3,592; sh: 366; makefile: 12
file content (34 lines) | stat: -rw-r--r-- 740 bytes parent folder | download
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
34
name: amalgamation demos

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  cpp_amalgamation:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v4
      - name: C++ amalgamation demo
        run: |
          cd singleheader
          ./amalgamate.py
          c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17
          ./amalgamation_demo

  c_amalgamation:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v4
      - name: c amalgamation demo
        run: |
          cd singleheader
          ./amalgamate.py
          c++ -c simdutf.cpp
          cc -c ./amalgamation_demo.c
          c++ amalgamation_demo.o simdutf.o -o cdemo
          ./cdemo