mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Split up build & test
This should make the output a bit more segmented (and thus, more readable)
This commit is contained in:
parent
dd6467303e
commit
01aa729577
7
.github/workflows/cicd.yml
vendored
7
.github/workflows/cicd.yml
vendored
@ -1,5 +1,5 @@
|
||||
---
|
||||
name: CI/CD
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -10,11 +10,12 @@ on:
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
name: Build and test
|
||||
runs-on: ubuntu-latest
|
||||
container: ultimaker/cura-build-environment
|
||||
steps:
|
||||
- name: Checkout Cura
|
||||
uses: actions/checkout@v2
|
||||
- name: Build and test
|
||||
- name: Build
|
||||
run: docker/build.sh
|
||||
- name: Test
|
||||
run: docker/test.sh
|
||||
|
@ -69,4 +69,3 @@ cmake3 \
|
||||
-DGENERATE_TRANSLATIONS=OFF \
|
||||
..
|
||||
make
|
||||
ctest3 -j4 --output-on-failure -T Test
|
||||
|
3
docker/test.sh
Executable file
3
docker/test.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
cd build
|
||||
ctest3 -j4 --output-on-failure -T Test
|
Loading…
x
Reference in New Issue
Block a user