10 { cc: gcc, cxx: g++, type: Debug },
11 { cc: clang, cxx: clang++, type: Debug },
12 { cc: gcc, cxx: g++, type: RelWithDebInfo },
13 { cc: clang, cxx: clang++, type: RelWithDebInfo },
15 runs-on: ubuntu-latest
17 - uses: actions/checkout@v4
24 CXX: ${{ matrix.cxx }}
27 source venv/bin/activate
28 python3 -m pip install -r requirements.txt
30 - uses: mymindstorm/setup-emsdk@v13
34 CXX: ${{ matrix.cxx }}
36 source venv/bin/activate
38 cmake -S . -B build/${{ matrix.cc }} -DCMAKE_BUILD_TYPE=${{ matrix.type }} \
47 cmake --build build/${{ matrix.cc }} --config ${{ matrix.type }} --target package
49 if: ${{ matrix.type == 'Debug' }}
52 CXX: ${{ matrix.cxx }}
55 cp -r build/${{ matrix.cc }}/vcpkg/* $VCPKG_INSTALLATION_ROOT
56 vcpkg install liba[ipo,pkgconfig]
59 CTEST_OUTPUT_ON_FAILURE: 1
62 cmake --build build/${{ matrix.cc }} --target test