aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml37
1 files changed, 26 insertions, 11 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a2714380f..3f6b3ed6a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,7 +6,7 @@ jobs:
build-linux:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest
- timeout-minutes: 45
+ timeout-minutes: 60
strategy:
fail-fast: false
matrix:
@@ -54,7 +54,7 @@ jobs:
build-linux-extra:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest
- timeout-minutes: 45
+ timeout-minutes: 60
strategy:
fail-fast: false
matrix:
@@ -104,7 +104,7 @@ jobs:
build-macos:
name: Build on macOS
runs-on: macos-latest
- timeout-minutes: 45
+ timeout-minutes: 60
env:
BUILD_OPTIONS: |
modules.cpp.compilerWrapper:ccache
@@ -161,7 +161,7 @@ jobs:
build-windows:
name: Build on Windows
runs-on: windows-latest
- timeout-minutes: 45
+ timeout-minutes: 60
env:
BUILD_OPTIONS: |
modules.cpp.compilerWrapper:clcache
@@ -221,7 +221,7 @@ jobs:
test-linux:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest
- timeout-minutes: 45
+ timeout-minutes: 60
needs: build-linux
strategy:
fail-fast: false
@@ -285,7 +285,7 @@ jobs:
test-baremetal:
name: Run Baremetal tests
runs-on: ubuntu-latest
- timeout-minutes: 45
+ timeout-minutes: 60
needs: build-linux
env:
QBS_TEST_SOURCE_ROOT: 'tests'
@@ -306,15 +306,21 @@ jobs:
run: QBS_AUTOTEST_PROFILE=avr-gcc-5_4 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
- name: msp430-gcc-4_6
run: QBS_AUTOTEST_PROFILE=msp430-gcc-4_6 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
+ - name: xtensa-lx106-elf-gcc-9_2
+ run: QBS_AUTOTEST_PROFILE=xtensa-lx106-elf-gcc-9_2 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
+ - name: riscv64-unknown-elf-gcc-9_3
+ run: QBS_AUTOTEST_PROFILE=riscv64-unknown-elf-gcc-9_3 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
- name: sdcc-3_8_0-mcs51
run: QBS_AUTOTEST_PROFILE=sdcc-3_8_0-mcs51 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
- name: sdcc-3_8_0-stm8
run: QBS_AUTOTEST_PROFILE=sdcc-3_8_0-stm8 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
+ - name: sdcc-3_8_0-hcs8
+ run: QBS_AUTOTEST_PROFILE=sdcc-3_8_0-hcs8 docker-compose run focal-baremetal scripts/test-baremetal.sh release/install-root/usr/local/bin
test-macos:
name: ${{ matrix.config.name }}
runs-on: macos-latest
- timeout-minutes: 45
+ timeout-minutes: 60
needs: build-macos
env:
QTEST_FUNCTION_TIMEOUT: 9000000
@@ -325,10 +331,10 @@ jobs:
matrix:
config:
- {
- name: 'Run macOS tests (Xcode 12.0)',
+ name: 'Run macOS tests (Xcode 12.2)',
target: 'desktop',
toolchain: 'clang_64',
- testProfile: 'xcode_12-macosx-x86_64',
+ testProfile: 'xcode_12_2-macosx-x86_64',
}
- {
name: 'Run macOS tests (Xcode 11.6)',
@@ -380,12 +386,21 @@ jobs:
qbs config defaultProfile qt
qbs config --list
- name: Run Tests
- run: ./scripts/test-qbs.sh ./release/install-root/usr/local/bin
+ run: |
+ sudo chmod g+w /cores
+ ulimit -c unlimited
+ ./scripts/test-qbs.sh ./release/install-root/usr/local/bin
+ - name: Coredump on failure
+ if: ${{ failure() }}
+ run: |
+ for f in $(find /cores -maxdepth 1 -name 'core.*' -print); do
+ lldb --core $f --batch --one-line "bt"
+ done;
test-windows:
name: ${{ matrix.config.name }}
runs-on: windows-latest
- timeout-minutes: 45
+ timeout-minutes: 60
needs: build-windows
strategy:
fail-fast: false