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
|