1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 15:40:53 +02:00
New test

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-31 10:36:04 +02:00
parent ed48742468
commit 19c735c523
2 changed files with 26 additions and 18 deletions

View file

@ -68,21 +68,5 @@ jobs:
with:
submodules: "recursive"
fetch-depth: 0
- name: "Pull ${{ matrix.image_name }}..."
run: docker pull dockcross/${{ matrix.image_name }}
- name: "Make script"
run: |
docker run --rm dockcross/${{ matrix.image_name }} > ./dockcross-${{ matrix.image_name }}
chmod +x ./dockcross-${{ matrix.image_name }}
- name: "Make script"
run: |
ls
pwd
- name: "Config CMakefile"
run: ./dockcross-${{ matrix.image_name }} cmake -B dockcross-${{ matrix.image_name }} -S . -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: "Build"
run: ./dockcross-${{ matrix.image_name }} ninja -C dockcross-${{ matrix.image_name }}
- name: "Test"
run: |
cd dockcross-${{ matrix.image_name }}
./dockcross-${{ matrix.image_name }} ctest --build-config ${{ matrix.build_type }}
- name: "build"
run: ./tools/dockcross-cmake-builder.sh ${{ matrix.image_name }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}